diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-11-08 11:11:14 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2016-11-09 18:29:11 +0000 |
commit | 8e5e6ddc5e526abc84d162f24decfa7be78887b1 (patch) | |
tree | 704aed45e0d134170c427f9b8d719ccb8ae27f21 /CMakeOptions.txt | |
parent | 857b80e41489f9064e8f5cbdd8c05b3a9ce8adb3 (diff) | |
download | wireshark-8e5e6ddc5e526abc84d162f24decfa7be78887b1.tar.gz |
CMake: Enable ccache for gcc and clang.
Add an option to check for and use ccache. Disable it by default.
Change-Id: Ifc928d22715b7e06e53115455b31dbeaf2ee8332
Reviewed-on: https://code.wireshark.org/review/18715
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r-- | CMakeOptions.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt index f1aacd098f..41a8ab69cd 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -26,6 +26,7 @@ option(ENABLE_EXTRA_COMPILER_WARNINGS "Do additional compiler warnings (disables option(ENABLE_CODE_ANALYSIS "Enable the compiler's static analyzer if possible" OFF) option(ENABLE_ASAN "Enable AddressSanitizer (ASAN) for debugging (degrades performance)" OFF) option(ENABLE_CHECKHF_CONFLICT "Enable hf conflict check for debugging (start-up may be slower)" OFF) +option(ENABLE_CCACHE "Speed up compiling and linking using ccache if possible" OFF) # # Leave GTK2 the default on Windows, looks better than GTK3 |