From 6489fe57e28bb60a0e97562583af32e46b535c6e Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 24 Aug 2021 17:29:13 -0700 Subject: build(soyuz): stricter compiling --- soyuz/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soyuz/CMakeLists.txt b/soyuz/CMakeLists.txt index 2daa2df..e4cff77 100644 --- a/soyuz/CMakeLists.txt +++ b/soyuz/CMakeLists.txt @@ -23,9 +23,9 @@ target_compile_features(${PROJECT_NAME} PUBLIC ) if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") - target_compile_options(${PROJECT_NAME} PUBLIC -W3) + target_compile_options(${PROJECT_NAME} PUBLIC /W4 /WX) # /Wall else() - target_compile_options(${PROJECT_NAME} PUBLIC -Wall) + target_compile_options(${PROJECT_NAME} PUBLIC -Wall -Wextra -pedantic -Werror) endif() add_compile_options(-stdlib=libc++) -- cgit v1.2.3