Files
swift-mirror/lib/Threading/CMakeLists.txt
Alastair Houghton bad716f2cd [Threading][TSan] Rearrange things again.
We need ThreadSanitizer.cpp in libswiftCore for the runtime case, but
we also need it in libswiftThreading for non-runtime cases.

rdar://1106655213
2023-06-19 17:00:39 +01:00

15 lines
505 B
CMake

# If you update this, you also need to update the CMakeLists.txt file in
# stdlib/public/Threading AND the one in stdlib/toolchain/CompatibilityThreading
# Note that it is *not* an error that Errors.cpp is only listed here.
# It shouldn't be in the other places because those are OBJECT_LIBRARYs
# and things that use them should be defining their own fatal error handler.
add_swift_host_library(swiftThreading STATIC
C11.cpp
Linux.cpp
Pthreads.cpp
Win32.cpp
Errors.cpp
ThreadSanitizer.cpp)