summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-27 14:18:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-27 15:04:01 +0200
commitd6556c2fa3a3a2880e27afb788e87d49e6c1ecb9 (patch)
treecb41208465083117cd683d903afaa0176a49eeef /editor
parenta230b7653866c81f502fdeb9656b2a39b13a0c43 (diff)
cmake: add "-asan.exe" suffix when using asan
This is so I can set floormat-editor.exe to realtime priority in Process Lasso.
Diffstat (limited to 'editor')
-rw-r--r--editor/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)