1 2 3 4 5 6 7 8 9 10 11 12 13
Project { StaticLibrary { name: "lib" Depends { name: "cpp" } files: ["lib.cpp", "lib.h"] } CppApplication { name: "app" Depends { name: "lib" } cpp.includePaths: project.sourceDirectory files: ["file.cpp", "file.h", "main.cpp"] } }