1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Project { StaticLibrary { name: "theLib" Depends { name: "cpp" } cpp.cxxLanguageVersion: "c++11" Group { name: "sources" files: "lib.cpp" } Group { name: "headers" files: "lib.h" } } CppApplication { name: "theApp" consoleApplication: true Depends { name: "mymodule" } cpp.cxxLanguageVersion: "c++14" cpp.warningLevel: "all" files: "main.cpp" install: true } }