Browse Source

Add full warning level

tags/version/0.2.5^0
Kai Kretschmann 4 months ago
parent
commit
bacda1100e
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      CMakeLists.txt

+ 3
- 1
CMakeLists.txt View File

@@ -5,7 +5,9 @@ project (JCmeasure LANGUAGES CXX)
SET(GCC_COVERAGE_COMPILE_FLAGS "-fprofile-arcs -ftest-coverage")
SET(GCC_COVERAGE_LINK_FLAGS "-fprofile-arcs -lgcov")

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_COVERAGE_COMPILE_FLAGS}")
SET(GCC_WARNING_FLAGS "-Wall -Wextra")

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_WARNING_FLAGS} ${GCC_COVERAGE_COMPILE_FLAGS}")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${GCC_COVERAGE_LINK_FLAGS}")

set (CMAKE_CXX_STANDARD 11)

Loading…
Cancel
Save
Social stuff:
Mastodon