aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-08-24 17:29:13 -0700
committerFuwn <[email protected]>2021-08-24 17:29:13 -0700
commit6489fe57e28bb60a0e97562583af32e46b535c6e (patch)
tree4aacf9c8872862b80ff08c05943ded459855ae81
parentrefactor(soyuz): move hook log (diff)
downloadsoyuz-6489fe57e28bb60a0e97562583af32e46b535c6e.tar.xz
soyuz-6489fe57e28bb60a0e97562583af32e46b535c6e.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++)