IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 5b2b71cc authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

added -Wall -Wextra -pedantic to CXX_FLAGS

parent 84ab459a
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,9 @@ set (CMAKE_INSTALL_MESSAGE LAZY) ...@@ -14,6 +14,9 @@ set (CMAKE_INSTALL_MESSAGE LAZY)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules) set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules)
include (CorsikaUtilities) # a few cmake function include (CorsikaUtilities) # a few cmake function
# enable warnings and disallow non-standard language
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra")
# --std=c++17 # --std=c++17
set (CMAKE_CXX_STANDARD 17) set (CMAKE_CXX_STANDARD 17)
enable_testing () enable_testing ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment