Skip to content

Commit

Permalink
build(soyuz): stricter compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuwn committed Aug 25, 2021
1 parent 56ea597 commit 1b16e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soyuz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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++)

Expand Down

0 comments on commit 1b16e7c

Please sign in to comment.