diff options
| author | Fuwn <[email protected]> | 2021-08-24 17:29:13 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-08-24 17:29:13 -0700 |
| commit | 1b16e7cbbfaf711e6971ff69229b2047cfacf28a (patch) | |
| tree | 4aacf9c8872862b80ff08c05943ded459855ae81 | |
| parent | refactor(soyuz): move hook log (diff) | |
| download | soyuz-1b16e7cbbfaf711e6971ff69229b2047cfacf28a.tar.xz soyuz-1b16e7cbbfaf711e6971ff69229b2047cfacf28a.zip | |
build(soyuz): stricter compiling
| -rw-r--r-- | soyuz/CMakeLists.txt | 4 |
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++) |