mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 12:43:36 +08:00
Renamed coverage option.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ sudo: false
|
||||
script:
|
||||
- mkdir -p build
|
||||
- cd build
|
||||
- cmake -DCOVERALLS=ON -DCOVERALLS_UPLOAD=ON -DCMAKE_BUILD_TYPE=Debug ..
|
||||
- cmake -DCOVERAGE=ON -DCOVERALLS_UPLOAD=ON -DCMAKE_BUILD_TYPE=Debug ..
|
||||
- make
|
||||
- make check_format
|
||||
- ctest
|
||||
|
||||
+2
-2
@@ -6,7 +6,7 @@ set(VERSION_PATCH "0")
|
||||
|
||||
project(matrix CXX)
|
||||
|
||||
option(COVERALLS "Turn on coveralls support" OFF)
|
||||
option(COVERAGE "Enable code coverage" OFF)
|
||||
option(COVERALLS_UPLOAD "Upload the generated coveralls json" OFF)
|
||||
|
||||
if (NOT CMAKE_BUILD_TYPE)
|
||||
@@ -40,7 +40,7 @@ set(CMAKE_CXX_FLAGS
|
||||
#-Werror
|
||||
)
|
||||
|
||||
if (COVERALLS)
|
||||
if (COVERAGE)
|
||||
list(APPEND CMAKE_CXX_FLAGS
|
||||
-fno-inline
|
||||
-fno-inline-small-functions
|
||||
|
||||
Reference in New Issue
Block a user