Rolling back option to BUILD_TESTS

BUILD_TESTING is defined within cmake when ctest module is included. Rolled back include(CTest) so we are going to define our own test option instead.
This commit is contained in:
Michael Tryby
2019-03-22 11:59:59 -04:00
parent 2bf3be4c64
commit 44938918bf
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ before_script:
- cd $BUILD_HOME - cd $BUILD_HOME
- cmake -DCMAKE_C_COMPILER=${CC} - cmake -DCMAKE_C_COMPILER=${CC}
-DCMAKE_CXX_COMPILER=${CXX} -DCMAKE_CXX_COMPILER=${CXX}
-DBUILD_TESTING=ON -DBUILD_TESTS=ON
-DBUILD_COVERAGE=ON .. -DBUILD_COVERAGE=ON ..
script: script:

View File

@@ -55,7 +55,7 @@ before_build:
- mkdir %BUILD_HOME% - mkdir %BUILD_HOME%
- cd %BUILD_HOME% - cd %BUILD_HOME%
- cmake -G "%GENERATOR%" - cmake -G "%GENERATOR%"
-DBUILD_TESTING=ON -DBUILD_TESTS=ON
-DBOOST_ROOT="%BOOST_ROOT%" .. -DBOOST_ROOT="%BOOST_ROOT%" ..
# run custom build script # run custom build script