From: Michael Altizer (mialtize) Date: Tue, 28 Apr 2020 16:18:26 +0000 (+0000) Subject: Merge pull request #2160 in SNORT/snort3 from ~SELYSENK/snort3:ccache to master X-Git-Tag: 3.0.1-3~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11398131f327382a65ea0304c796ed7d24ee98b1;p=thirdparty%2Fsnort3.git Merge pull request #2160 in SNORT/snort3 from ~SELYSENK/snort3:ccache to master Squashed commit of the following: commit 3b028188e6ee898c891f27ab7950251db147e94d Author: Serhii Lysenko Date: Tue Apr 14 05:37:57 2020 -0400 build: add support for ccache --- diff --git a/configure_cmake.sh b/configure_cmake.sh index 69d32f3a1..64d97e895 100755 --- a/configure_cmake.sh +++ b/configure_cmake.sh @@ -66,6 +66,7 @@ Optional Features: enable third party appid --enable-unit-tests build unit tests --enable-piglet build piglet test harness + --enable-ccache enable ccache support --disable-static-daq link static DAQ modules --disable-html-docs don't create the HTML documentation --disable-pdf-docs don't create the PDF documentation @@ -318,6 +319,10 @@ while [ $# -ne 0 ]; do --disable-piglet) append_cache_entry ENABLE_PIGLET BOOL false ;; + --enable-ccache) + append_cache_entry CMAKE_CXX_COMPILER_LAUNCHER STRING ccache + append_cache_entry CMAKE_C_COMPILER_LAUNCHER STRING ccache + ;; --disable-static-daq) append_cache_entry ENABLE_STATIC_DAQ BOOL false ;;