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:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user