Skip to content
Snippets Groups Projects
Commit 58c625e4 authored by Serge Lamikhov-Center's avatar Serge Lamikhov-Center
Browse files

Apparently, VC++ compiler does not accept -Wextra option

parent 25ac047f
Branches
No related tags found
No related merge requests found
......@@ -44,12 +44,12 @@ if (ELFIO_BUILD_EXAMPLES OR ELFIO_BUILD_TESTS)
endif()
if (ELFIO_BUILD_EXAMPLES)
set (CMAKE_CXX_FLAGS "-Wall -Wextra")
# set (CMAKE_CXX_FLAGS "-Wall")
add_subdirectory(examples)
endif()
if (ELFIO_BUILD_TESTS AND IS_TOP_PROJECT)
set (CMAKE_CXX_FLAGS "-Wall -Wextra")
# set (CMAKE_CXX_FLAGS "-Wall")
enable_testing()
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} USES_TERMINAL)
add_subdirectory(tests)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment