From 2982430fc0021e72699e45a8b24390bf7ac1f05a Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 25 Dec 2017 13:58:25 +0000 Subject: [Build] Added warning all flag to cmake. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f2ec7120..1906ce31 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,9 @@ option(YAGE_BUILD_DOCS "Build documentation using Doxygen" ON) # set standard set(CMAKE_CXX_STANDARD 14) +# adding more warnings to cmake +set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-Wall") + # find other libraries from source set(EXTERNAL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external) -- cgit