CMakeLists: Document the /GT compile option

master
Morph 2021-10-28 20:43:46 +07:00
parent cd49907248
commit 3f8d74dec1
1 changed files with 1 additions and 0 deletions

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