cmake: Set /Brepro compiler/linker options

This commit is contained in:
derrod
2023-03-07 18:13:24 -05:00
committed by Ryan Foster
parent 75693a6682
commit d2f0dfa341
+2
View File
@@ -52,6 +52,7 @@ if(OS_WINDOWS AND MSVC)
endif()
add_compile_options(
/Brepro
/MP
/W3
/WX
@@ -75,6 +76,7 @@ if(OS_WINDOWS AND MSVC)
/std:c17)
add_link_options(
"LINKER:/Brepro"
"LINKER:/OPT:REF"
"LINKER:/WX"
"$<$<NOT:$<EQUAL:${CMAKE_SIZEOF_VOID_P},8>>:LINKER\:/SAFESEH\:NO>"