diff options
author | Volkan Gezer <volkangezer@gmail.com> | 2014-03-06 08:15:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-10 13:54:27 (GMT) |
commit | ef1c1153d34548863bcc5cb6d767881eb5b93b04 (patch) | |
tree | 1887e65a100aad19a009aef02ea675b9e4f6e218 /Source/CTest | |
parent | 581abf6d312614cf1d01f86d7f4feba344252422 (diff) | |
download | CMake-ef1c1153d34548863bcc5cb6d767881eb5b93b04.zip CMake-ef1c1153d34548863bcc5cb6d767881eb5b93b04.tar.gz CMake-ef1c1153d34548863bcc5cb6d767881eb5b93b04.tar.bz2 |
CTest: Teach ctest_coverage() to read CTEST_COVERAGE_EXTRA_FLAGS
Use it to set the CoverageExtraFlags value just as COVERAGE_EXTRA_FLAGS
does in the CTest module for creating DartConfiguration.tcl.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestCoverageCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx index 72ff720..41f016b 100644 --- a/Source/CTest/cmCTestCoverageCommand.cxx +++ b/Source/CTest/cmCTestCoverageCommand.cxx @@ -25,7 +25,8 @@ cmCTestGenericHandler* cmCTestCoverageCommand::InitializeHandler() { this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, "CoverageCommand", "CTEST_COVERAGE_COMMAND"); - + this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, + "CoverageExtraFlags", "CTEST_COVERAGE_EXTRA_FLAGS"); cmCTestCoverageHandler* handler = static_cast<cmCTestCoverageHandler*>( this->CTest->GetInitializedHandler("coverage")); if ( !handler ) |