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. --- editor/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editor') diff --git a/editor/CMakeLists.txt b/editor/CMakeLists.txt index 372d9cd8..97abd54d 100644 --- a/editor/CMakeLists.txt +++ b/editor/CMakeLists.txt @@ -26,6 +26,9 @@ endif() set_property(SOURCE "events.cpp" APPEND PROPERTY INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIRS}") add_executable(${self} dummy.cc) +if (FLOORMAT_ASAN) + set_target_properties(${self} PROPERTIES OUTPUT_NAME "floormat-editor-asan") +endif() target_link_libraries(${self} PRIVATE ${self}_o floormat-main floormat-serialize floormat-draw floormat) install(TARGETS ${self} RUNTIME DESTINATION bin) -- cgit v1.2.3