diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-08-31 11:21:36 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-09-02 23:44:03 +0200 |
commit | 46f8c46bee122d70589e97804a9c98fff6ad494b (patch) | |
tree | e3ecf4754543f64f40b9a31e45c8266f5ae1cdac /util | |
parent | 27fed69d0a5842a718e9afe1b82851e2803fc084 (diff) |
CMake: Teach QtProcessConfigureArgs.cmake to configure other modules
Until now, QtProcessConfigureArgs.cmake could only handle qtbase and the
top-level build. Add the variable MODULE_ROOT that the user can point to
the module that is to be configured.
Example - QtDeclarative can now be configured like this:
cd qtdeclarative-build-dir
echo -qml-network > config.opt
cmake -DOPTFILE=config.opt -DMODULE_ROOT=<source-root>/qtdeclarative \
-DCMAKE_COMMAND=<install-prefix>/bin/qt-cmake-private \
-P <source-root>/qtbase/cmake/QtProcessConfigureArgs.cmake
A convenience script that saves the user from entering this unwieldy
incantation will be added in a subsequent commit.
Change-Id: If46103de3a8eb84b15e7600ebfec25544451e1d5
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions