diff options
| author | Joerg Bornemann <[email protected]> | 2020-04-17 08:56:26 +0200 |
|---|---|---|
| committer | Joerg Bornemann <[email protected]> | 2020-04-17 23:10:11 +0200 |
| commit | 3eed6d76b7ce280674caab448682a2e4837cb4d7 (patch) | |
| tree | 8af78503b7c754a899c2ea9124f3f978a4be0669 /util/cmake/configurejson2cmake.py | |
| parent | 8a5ffc4f73ef250610836393d0b71b2861a04929 (diff) | |
CMake: Port the 'ccache' feature
This maps to the CMake variable QT_USE_CCACHE.
Change-Id: I3258027301284d907f6ecde6c65d2c0dde8f0a11
Reviewed-by: Alexandru Croitor <[email protected]>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
| -rwxr-xr-x | util/cmake/configurejson2cmake.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py index 90bd3e2af60..e2ab8864f07 100755 --- a/util/cmake/configurejson2cmake.py +++ b/util/cmake/configurejson2cmake.py @@ -819,7 +819,10 @@ def get_feature_mapping(): "alloc_malloc_h": None, "alloc_stdlib_h": None, "build_all": None, - "ccache": None, + "ccache": { + "autoDetect": "1", + "condition": "QT_USE_CCACHE" + }, "compiler-flags": None, "cross_compile": {"condition": "CMAKE_CROSSCOMPILING"}, "debug_and_release": { |
