summaryrefslogtreecommitdiffhomepage
path: root/test
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 /test
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 'test')
-rw-r--r--test/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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")