Skip to content

Commit 3933abd

Browse files
committed
Build: Added an easy option to enable tsan in the cmake
1 parent 4f60d04 commit 3933abd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ if (APPLE)
1111
# set(CMAKE_OSX_ARCHITECTURES arm64 x86_64)
1212
endif()
1313

14+
# Uncomment to enable tsan
15+
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=thread")
16+
17+
1418
# Adds all the module sources so they appear correctly in the IDE
1519
set_property(GLOBAL PROPERTY USE_FOLDERS YES)
1620
option(JUCE_ENABLE_MODULE_SOURCE_GROUPS "Enable Module Source Groups" ON)

0 commit comments

Comments
 (0)