2023-12-18 11:06:21 +03:00
|
|
|
message("PRELOADING cache")
|
|
|
|
set (CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "preload")
|
2023-07-27 19:07:10 +03:00
|
|
|
set (WITH_SERVER ON CACHE BOOL "qa default")
|
|
|
|
set (WITH_SAMPLE ON CACHE BOOL "qa default")
|
|
|
|
set (WITH_VERBOSE_WINPR_ASSERT OFF CACHE BOOL "qa default")
|
|
|
|
set (BUILD_SHARED_LIBS OFF CACHE BOOL "qa default")
|
2024-01-23 16:57:26 +03:00
|
|
|
|
|
|
|
set (BUILD_WITH_CLANG_TIDY OFF CACHE BOOL "qa default")
|
|
|
|
find_program(CLANG_EXE
|
|
|
|
NAMES
|
|
|
|
clang-20
|
|
|
|
clang-19
|
|
|
|
clang-18
|
|
|
|
clang-17
|
|
|
|
clang-16
|
|
|
|
clang-15
|
|
|
|
clang-14
|
|
|
|
clang-13
|
|
|
|
clang-12
|
|
|
|
clang-11
|
|
|
|
clang-10
|
|
|
|
clang
|
|
|
|
REQUIRED
|
|
|
|
)
|
|
|
|
set (CMAKE_C_COMPILER "${CLANG_EXE}" CACHE STRING "qa default")
|
|
|
|
|
|
|
|
find_program(CLANG_XX_EXE
|
|
|
|
NAMES
|
|
|
|
clang++-20
|
|
|
|
clang++-19
|
|
|
|
clang++-18
|
|
|
|
clang++-17
|
|
|
|
clang++-16
|
|
|
|
clang++-15
|
|
|
|
clang++-14
|
|
|
|
clang++-13
|
|
|
|
clang++-12
|
|
|
|
clang++-11
|
|
|
|
clang++-10
|
|
|
|
clang++
|
|
|
|
REQUIRED
|
|
|
|
)
|
|
|
|
set (CMAKE_CXX_COMPILER "${CLANG_XX_EXE}" CACHE STRING "qa default")
|