From d6556c2fa3a3a2880e27afb788e87d49e6c1ecb9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 27 Aug 2023 14:18:26 +0200 Subject: cmake: add "-asan.exe" suffix when using asan This is so I can set floormat-editor.exe to realtime priority in Process Lasso. --- userconfig-sthalik@Windows-Clang.cmake | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'userconfig-sthalik@Windows-Clang.cmake') diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake index ebd8aa48..244ebffc 100644 --- a/userconfig-sthalik@Windows-Clang.cmake +++ b/userconfig-sthalik@Windows-Clang.cmake @@ -12,24 +12,26 @@ if(CMAKE_BUILD_TYPE STREQUAL "DEBUG") -fcoverage-mapping ) endif() - sets(BOOL FLOORMAT_PRECOMPILED-HEADERS OFF) + #sets(BOOL FLOORMAT_PRECOMPILED-HEADERS OFF) else() add_compile_options(-march=native -mavx2) add_compile_options(-emit-llvm) add_compile_options(-fmerge-all-constants -flto=full -fwhole-program-vtables -fforce-emit-vtables) add_link_options(-fmerge-all-constants -flto=full -fwhole-program-vtables -fforce-emit-vtables) add_link_options(-Wl,--gc-sections -Wl,--icf=all) - sets(BOOL FLOORMAT_PRECOMPILED-HEADERS ON) + #sets(BOOL FLOORMAT_PRECOMPILED-HEADERS ON) endif() -set(CMAKE_INSTALL_MESSAGE NEVER) +sets(BOOL FLOORMAT_PRECOMPILED-HEADERS OFF) if(FLOORMAT_ASAN) add_compile_options(-fsanitize=undefined -fsanitize=address) add_link_options(-fsanitize=undefined -fsanitize=address) + sets(BOOL FLOORMAT_PRECOMPILED-HEADERS ON) endif() set(OpenCV_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../opentrack-depends/opencv/build-clang-amd64/install" CACHE PATH "" FORCE) +set(CMAKE_INSTALL_MESSAGE NEVER) sets(STRING CMAKE_C_FLAGS "" -- cgit v1.2.3