Skip to content

Commit

Permalink
ci: update C++ compiler flags for MSVC to use warning level 3
Browse files Browse the repository at this point in the history
  • Loading branch information
pageldev committed Jan 19, 2025
1 parent 943fee4 commit c18db21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

if(MSVC)
set(CMAKE_CXX_FLAGS "/EHsc /Wall")
set(CMAKE_CXX_FLAGS "/EHsc /W3")
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS 1)
set(CMAKE_CXX_FLAGS_RELEASE "/O2")
add_compile_definitions(_USE_MATH_DEFINES)
Expand Down

0 comments on commit c18db21

Please sign in to comment.