Refactor cmake (#1231)

Fixes #920.
This commit is contained in:
Sergey Kuznetsov
2024-03-06 16:29:26 +00:00
committed by GitHub
parent 1842f26826
commit d47f3b71bd
43 changed files with 491 additions and 438 deletions

5
cmake/Ccache.cmake Normal file
View File

@@ -0,0 +1,5 @@
find_program(CCACHE_PATH "ccache")
if (CCACHE_PATH)
set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PATH}")
message(STATUS "Using ccache: ${CCACHE_PATH}")
endif ()