Hi,
I'm having a hard time understanding how to append to
cpp.systemIncludePaths. I have something like this:
StaticLibrary {
id: bgfx
name: "bgfx"
files: [
...
]
Depends { name: "cpp" }
cpp.includePaths: [ "bx/include", "bgfx/include" ]
Properties {
condition: qbs.toolchain.contains("msvc")
cpp.systemIncludePaths: [ "bx/include/compat/msvc" ]
}
Properties {
condition: qbs.targetOS.contains("mingw")
cpp.systemIncludePaths: [ "bx/include/compat/mingw" ]
}
}
Now from what I understood the Properties component are exclusive so
default cpp.systemIncludePaths are overwritten. How could I conditionally
append to and existing pathList?
How can I achieve this:
cpp.systemIncludePaths = cpp.systemIncludePaths + additionalPaths
Inside qmake .pro files I can do something like SOURCES += ... or DEFINES
+= ...
Regards,
Catalin
_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs