diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-27 14:18:26 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-27 15:04:01 +0200 |
| commit | d6556c2fa3a3a2880e27afb788e87d49e6c1ecb9 (patch) | |
| tree | cb41208465083117cd683d903afaa0176a49eeef /editor | |
| parent | a230b7653866c81f502fdeb9656b2a39b13a0c43 (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.txt | 3 |
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) |
