diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-04-17 08:56:26 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-04-17 23:10:11 +0200 |
commit | 3eed6d76b7ce280674caab448682a2e4837cb4d7 (patch) | |
tree | 8af78503b7c754a899c2ea9124f3f978a4be0669 /configure.cmake | |
parent | 8a5ffc4f73ef250610836393d0b71b2861a04929 (diff) |
CMake: Port the 'ccache' feature
This maps to the CMake variable QT_USE_CCACHE.
Change-Id: I3258027301284d907f6ecde6c65d2c0dde8f0a11
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index f67dd96b6e..88c32e2637 100644 --- a/configure.cmake +++ b/configure.cmake @@ -781,6 +781,12 @@ qt_feature("compile_examples" AUTODETECT NOT WASM ) qt_feature_config("compile_examples" QMAKE_PRIVATE_CONFIG) +qt_feature("ccache" + LABEL "Using ccache" + AUTODETECT 1 + CONDITION QT_USE_CCACHE +) +qt_feature_config("ccache" QMAKE_PRIVATE_CONFIG) qt_feature("dlopen" PRIVATE LABEL "dlopen()" CONDITION UNIX |