build: ccache support added

This commit is contained in:
Mateusz Pusz
2021-05-08 18:28:49 +02:00
parent f4a8a1358e
commit 7b0730cf17
2 changed files with 197 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
include(modern_project_structure)
ensure_entry_point()
# use ccache if available
include(ccache)
enable_ccache_if_possible()
# set restrictive compilation warnings
include(warnings)
set_warnings()