Skip to content

Commit

Permalink
build: Enable stricter warning level for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
jrsnen committed Feb 28, 2022
1 parent f5b692b commit 28fbddc
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 @@ -142,7 +142,7 @@ target_include_directories(${PROJECT_NAME}


if(MSVC)
target_compile_options(${PROJECT_NAME} PRIVATE /Zc:__cplusplus)
target_compile_options(${PROJECT_NAME} PRIVATE /Zc:__cplusplus /W4)
else()
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Wpedantic #[[-Werror]])
endif()
Expand Down

0 comments on commit 28fbddc

Please sign in to comment.