On Fri, 5 Jul 2019 16:06:28 +0200
Richard Weickelt <rich...@weickelt.de> wrote:

> And it sounds like CMakeCache.txt is used to prevent from typing a CMake
> command line with looooots of -D. Is that correct? There is no direct
> equivalent in Qbs.

But note that the property values are stored in the build graph, so you only 
have to enter them once.

> You can override project, product and module options on command line:
> https://doc-snapshots.qt.io/qbs/cli-build.html#parameters
> 
> Nothing stops you from putting your custom overrides into a text file and
> then insert them right in place:
> 
> # options.txt
> modules.cpp.optimization:fast project.myCoolFeatureEnabled:true
> 
> # my-qbs-invocation-script.sh
> qbs build $(cat options.txt)

Also, there are profiles.


Christian
_______________________________________________
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs

Reply via email to