aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-08-24 17:29:13 +0000
committerFuwn <[email protected]>2021-08-24 17:29:13 +0000
commit4444bbbbab083e94151a1ce4d12a494107b17bd8 (patch)
tree4aacf9c8872862b80ff08c05943ded459855ae81
parentrefactor(soyuz): move hook log (diff)
downloadsoyuz-4444bbbbab083e94151a1ce4d12a494107b17bd8.tar.xz
soyuz-4444bbbbab083e94151a1ce4d12a494107b17bd8.zip
build(soyuz): stricter compiling
-rw-r--r--soyuz/CMakeLists.txt4
1 files 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++)