Hi All, How can I propagate compiler options to referenced projects? For example:
Project { references: [ "kernel/kernel.qbs" ] Product{ type: "application" name: “example" Depends { name: "cpp" } Depends { name: "kernel" } cpp.defines: [“THUMB" ] cpp.warningLevel: "all" cpp.treatWarningsAsErrors: true cpp.positionIndependentCode: false cpp.commonCompilerFlags: [ "-mcpu=cortex-m4","-mthumb","-mabi=aapcs","-mfloat-abi=hard","-mfpu=fpv4-sp-d16", "-std=gnu99","-flto","-fno-builtin", "-fdata-sections","-ffunction-sections", ] cpp.includePaths: [ "." ] files: [ “main.c" ] } } I want the source files in kernel.qbs to be compiled with the same compiler options as in the example product. How can I do that? Regards, Marcel
_______________________________________________ QBS mailing list QBS@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs