Skip to content

Commit

Permalink
These options were inheritted >8 years ago when gcc 4.x was out. (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
szmyd authored Oct 18, 2023
1 parent 022efda commit 8735ab4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 71 deletions.
9 changes: 6 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ endif()
if (NOT DEFINED CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE "Debug")
endif()
if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
include (cmake/debug_flags.cmake)
endif()
if (DEFINED BUILD_COVERAGE)
if (${BUILD_COVERAGE})
include (cmake/CodeCoverage.cmake)
APPEND_COVERAGE_COMPILER_FLAGS()
endif ()
endif ()

if (NOT DEFINED MEMORY_SANITIZER_ON)
set(MEMORY_SANITIZER_ON OFF)
Expand Down
68 changes: 0 additions & 68 deletions cmake/debug_flags.cmake

This file was deleted.

0 comments on commit 8735ab4

Please sign in to comment.