How do you concatenate properties in the current version of qbs?

In older versions (conditionaly) concatenating properties was done using a 
properties block and outer.concat (see http://qt-project.org/wiki/Qbs-Quick-
Reference).
So, whats the current way to conditionaly add defines or cxxFlags?


Also, while trying to find a way around that problem I found a crash instead - 
not sure if this is already reported. Defining a property twice results in a 
segmentation fault in revision b0d22a99756c250d384cd911bd7612d516cfd6fb.

test.qbs:
import qbs.base 1.0
Application {
        name: "test"
        Depends { name: "cpp" }

        cpp.defines: [ "test" ]
        cpp.defines: [ "test" ]
}

_______________________________________________
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to