From 49a17a99026ae7e59d14297d01ed2f8d10c78762 Mon Sep 17 00:00:00 2001 From: Abdessattar Sassi <457645+abdes@users.noreply.github.com> Date: Tue, 20 Sep 2022 21:18:18 +0400 Subject: [PATCH] feat: option to control the use of ccache, default is OFF --- CMakeLists.txt | 1 + README.md | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f26aba87..2428f485 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,6 +84,7 @@ option(ASAP_WITH_GOOGLE_ASAN "Instrument code with address sanitizer" option(ASAP_WITH_GOOGLE_UBSAN "Instrument code with undefined behavior sanitizer" OFF) option(ASAP_WITH_GOOGLE_TSAN "Instrument code with thread sanitizer" OFF) option(ASAP_WITH_VALGRIND "Builds targets with valgrind profilers added" OFF) +option(USE_CCACHE "Enable caching of compiled artifacts using ccache" OFF) # cmake-format: on # ------------------------------------------------------------------------------ diff --git a/README.md b/README.md index b66f39a9..6999e34b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@