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>
This commit is contained in:
parent
4888e3e840
commit
a845e1db18
9
configure
vendored
9
configure
vendored
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user