Skip to content

Commit

Permalink
ADD commented option to compile with TSAN
Browse files Browse the repository at this point in the history
  • Loading branch information
afaure42 authored and SaumonDesMers committed Apr 30, 2024
1 parent 218777b commit 9c5392f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ add_executable(${PROJECT_NAME})
target_compile_options(${PROJECT_NAME}
PRIVATE
-O3
# -g
# -fsanitize=thread
# -g3
-Wall
-Wextra
Expand All @@ -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
Expand Down

0 comments on commit 9c5392f

Please sign in to comment.