IAP GITLAB

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

removed redundant compiler flags

parent 6335d9c5
No related branches found
No related tags found
No related merge requests found
...@@ -38,8 +38,8 @@ endif() ...@@ -38,8 +38,8 @@ endif()
# enable warnings and disallow non-standard language # enable warnings and disallow non-standard language
set(CMAKE_CXX_FLAGS "-Wall -pedantic -Wextra -Wno-ignored-qualifiers") set(CMAKE_CXX_FLAGS "-Wall -pedantic -Wextra -Wno-ignored-qualifiers")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -O0 -g") set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O0") set(CMAKE_CXX_FLAGS_RELEASE "-O0") # should be -O3 but bug 118 prevents this right now
# clang produces a lot of unecessary warnings without this: # clang produces a lot of unecessary warnings without this:
add_compile_options("$<$<CXX_COMPILER_ID:Clang>:-Wno-nonportable-include-path>") add_compile_options("$<$<CXX_COMPILER_ID:Clang>:-Wno-nonportable-include-path>")
......
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