Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

CMakeLists: Document the /GT compile option

Morpha505c3c70a44
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a37ae37c17..63dd9febf7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -32,6 +32,7 @@ if (MSVC)
# /Zc:externConstexpr - Allow extern constexpr variables to have external linkage, like the standard mandates
# /Zc:inline - Let codegen omit inline functions in object files
# /Zc:throwingNew - Let codegen assume `operator new` (without std::nothrow) will never return null
+ # /GT - Supports fiber safety for data allocated using static thread-local storage
add_compile_options(
/MP
/Zi