diff --git a/CMakeLists.txt b/CMakeLists.txt index a59678e..5a96bb5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,11 @@ if(${CMAKE_CXX_COMPILER_ID} MATCHES "AppleClang|Clang") endif() if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") - add_compile_options(/utf-8) + add_compile_options(/utf-8 /Zi) + add_link_options($<$:/OPT:REF>) + add_link_options($<$:/OPT:ICF=3>) + add_link_options($<$:/Qvec>) + add_link_options($<$:/GR>) endif() add_subdirectory(clap EXCLUDE_FROM_ALL)