Added extra compiler warning flag.

This commit is contained in:
Patrick Lühne 2016-11-29 02:12:44 +01:00
parent ecd5fc404c
commit 5d67d74395
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -4,7 +4,7 @@ project(anthem CXX)
option(ANTHEM_BUILD_TESTS "Build unit tests" OFF) option(ANTHEM_BUILD_TESTS "Build unit tests" OFF)
option(ANTHEM_BUILD_STATIC "Build static binaries" OFF) option(ANTHEM_BUILD_STATIC "Build static binaries" OFF)
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")
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)