diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2020-03-30 09:46:26 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2020-04-01 22:57:18 +0200 |
commit | a845e1db18fceb660bb8d8c339f4c1aa5d876927 (patch) | |
tree | 9e225613735e4b6e8148229ea8c66cd9b317da0b /configure | |
parent | 4888e3e8401dc2e949f7e575c0e1e0036d746af6 (diff) |
Add convenience forwards/translations to cmake configure wrapper
Translate --ccache and --sanitize=foo into corresponding cmake
variables.
Change-Id: If6e20a715ace7e55e498e3398c592295a4f264c3
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -161,6 +161,15 @@ $i" CMAKE_CMDLINE="$CMAKE_CMDLINE -DFEATURE_${VAR}=OFF" ;; + --sanitize=*) + VAR=`echo $i | sed 's,^--sanitize=\(.*\),\1,'` + CMAKE_CMDLINE="$CMAKE_CMDLINE +-DECM_ENABLE_SANITIZERS=${VAR}" + ;; + --ccache) + CMAKE_CMDLINE="$CMAKE_CMDLINE +-DQT_USE_CCACHE=ON" + ;; --) PASSTHRU=yes ;; |