Renamed TESTS cmake option to CTESTS
This commit is contained in:
parent
86a1707b75
commit
d05d71bbd5
3 changed files with 4 additions and 4 deletions
|
@ -30,7 +30,7 @@ script:
|
|||
- >
|
||||
cmake
|
||||
-Wno-dev
|
||||
-DTESTS=ON
|
||||
-DCTESTS=ON
|
||||
-DCOVERALLS=${COVERAGE}
|
||||
-DCMAKE_BUILD_TYPE=${CONFIGURATION}
|
||||
-DCMAKE_INSTALL_PREFIX=criterion-${TRAVIS_TAG}
|
||||
|
|
|
@ -50,7 +50,7 @@ endif()
|
|||
|
||||
# Setup coveralls
|
||||
|
||||
option(TESTS "Turn on the samples and test" OFF)
|
||||
option(CTESTS "Turn on the samples and test" OFF)
|
||||
option(COVERALLS "Turn on coveralls support" OFF)
|
||||
option(COVERALLS_UPLOAD "Upload the generated coveralls json" ON)
|
||||
|
||||
|
@ -193,7 +193,7 @@ add_custom_target(gcov
|
|||
-P "${CMAKE_MODULE_PATH}/Gcov.cmake"
|
||||
)
|
||||
|
||||
if (TESTS)
|
||||
if (CTESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(samples)
|
||||
add_subdirectory(test)
|
||||
|
|
|
@ -38,7 +38,7 @@ install:
|
|||
- >
|
||||
cmake
|
||||
-Wno-dev
|
||||
-DTESTS=ON
|
||||
-DCTESTS=ON
|
||||
-DCMAKE_INSTALL_PREFIX="criterion-%RELEASE_NAME%"
|
||||
-DCMAKE_BUILD_TYPE="%CONFIGURATION%"
|
||||
-G "%GENERATOR%"
|
||||
|
|
Loading…
Add table
Reference in a new issue