Skip to content

Commit

Permalink
re enable commented flags
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Jun 13, 2024
1 parent 4f5dc75 commit c9dca8f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ww/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@ endif()

target_compile_definitions(ww PUBLIC STC_STATIC=1 WW_VERSION=0.1)

# target_compile_options(ww PUBLIC
# $<$<CXX_COMPILER_ID:MSVC>:/W4 /WX>
# $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wall -Wextra -Werror>
# )
target_compile_options(ww PUBLIC
$<$<CXX_COMPILER_ID:MSVC>:/W4 /WX>
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wall -Wextra -Werror>
)

# target_compile_options(ww PUBLIC -Wno-unused-function)
target_compile_options(ww PUBLIC -Wno-unused-function)

# target_compile_options(ww PUBLIC -pedantic -pedantic-errors)
target_compile_options(ww PUBLIC -pedantic -pedantic-errors)

if(CMAKE_BUILD_TYPE STREQUAL "Debug")
target_compile_definitions(ww PUBLIC DEBUG=1)
Expand Down

0 comments on commit c9dca8f

Please sign in to comment.