Added -Wextra compiler flag.

This commit is contained in:
Patrick Lühne 2016-06-08 00:13:07 +02:00
parent a1b93624d6
commit abfa3b3ca1

View File

@ -3,7 +3,7 @@ project(plasp CXX)
find_package(Boost 1.55.0 COMPONENTS program_options iostreams system filesystem REQUIRED) find_package(Boost 1.55.0 COMPONENTS program_options iostreams system filesystem REQUIRED)
set(CMAKE_CXX_FLAGS "-Wall -Wpedantic") set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic")
set(CMAKE_CXX_FLAGS_DEBUG "-g") set(CMAKE_CXX_FLAGS_DEBUG "-g")
add_definitions(-std=c++14) add_definitions(-std=c++14)