1
0
Fork 0
forked from suyu/suyu

CMakeLists: Document the /GT compile option

This commit is contained in:
Morph 2021-10-28 20:43:46 -04:00
parent cd49907248
commit 3f8d74dec1

View file

@ -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