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")
|
|
|
|
|
2024-01-24 17:08:33 +03:00
|
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/ClangDetectTool.cmake)
|
|
|
|
clang_detect_tool(CLANG_EXE clang REQUIRED)
|
|
|
|
clang_detect_tool(CLANG_XX_EXE clang++ REQUIRED)
|
|
|
|
|
|
|
|
set (CMAKE_C_COMPILER "${CLANG_EXE}" CACHE STRING "qa default")
|
2024-01-23 16:57:26 +03:00
|
|
|
set (CMAKE_CXX_COMPILER "${CLANG_XX_EXE}" CACHE STRING "qa default")
|
2024-01-24 17:34:59 +03:00
|
|
|
set (CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++" CACHE STRING "qa-default")
|