From 9c5392f1f7136b25a93bd6b5ce2ca5eff62383be Mon Sep 17 00:00:00 2001 From: afaure Date: Tue, 30 Apr 2024 13:05:08 +0200 Subject: [PATCH] ADD commented option to compile with TSAN --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3b4106a..ac5ef5ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,8 @@ add_executable(${PROJECT_NAME}) target_compile_options(${PROJECT_NAME} PRIVATE -O3 + # -g + # -fsanitize=thread # -g3 -Wall -Wextra @@ -23,6 +25,11 @@ target_compile_options(${PROJECT_NAME} -Wno-missing-braces ) +# target_link_options(${PROJECT_NAME} +# PRIVATE +# -fsanitize=thread +# ) + target_sources(${PROJECT_NAME} PRIVATE src/main.cpp