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. --- test/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e835c359..3ae516bb 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -17,6 +17,10 @@ endif() add_executable(${self} dummy.cc) target_link_libraries(${self} ${self}_o floormat-serialize floormat) +if (FLOORMAT_ASAN) + set_target_properties(${self} PROPERTIES OUTPUT_NAME "floormat-test-asan") +endif() + install(TARGETS ${self} RUNTIME DESTINATION bin) set(save-dir "${CMAKE_BINARY_DIR}/test/save") -- cgit v1.2.3