File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,13 @@ if(MSVC)
5454 # Visual Studio specific flags
5555 target_compile_options (cpputils PRIVATE
5656 $<$<CONFIG:Debug>:/JMC>
57- $<$<OR :$<CONFIG:RelWithDebInfo>,$<CONFIG:Debug >>:/GS- /O2>
57+ $<$<OR :$<CONFIG:RelWithDebInfo>,$<CONFIG:Release >>:/GS- /O2>
5858 /MP /Zi
5959 /std:c++latest /permissive- /Zc:__cplusplus /Zc:char8_t
6060 /W4 /FS /Gy
6161 )
6262 target_link_options (cpputils PRIVATE
63- $<$<OR :$<CONFIG:RelWithDebInfo>,$<CONFIG:Debug >>:/OPT:REF /OPT:ICF>
63+ $<$<OR :$<CONFIG:RelWithDebInfo>,$<CONFIG:Release >>:/OPT:REF /OPT:ICF>
6464 $<$<CONFIG:Debug>:/INCREMENTAL>
6565 /DEBUG:FASTLINK
6666 )
@@ -83,7 +83,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
8383 -Wshadow -Wstrict-aliasing -Wstrict-aliasing=3 -Wuninitialized
8484 -Wunused-const-variable =2 -Wwrite-strings -Wlogical-op
8585 -Wno-missing-include -dirs -Wno-undef
86- $<$<OR :$<CONFIG:RelWithDebInfo>,$<CONFIG:Debug >>:-O3>
86+ $<$<OR :$<CONFIG:RelWithDebInfo>,$<CONFIG:Release >>:-O3>
8787 )
8888 target_link_options (cpputils PRIVATE -fuse-ld=gold)
8989
You can’t perform that action at this time.
0 commit comments