Merge topic 'ctest-coverage-extra'
93d5c4dc
Help: Add release notes for topic 'ctest-coverage-extra'ef1c1153
CTest: Teach ctest_coverage() to read CTEST_COVERAGE_EXTRA_FLAGS
This commit is contained in:
commit
b801205dad
|
@ -0,0 +1,5 @@
|
|||
ctest-coverage-extra
|
||||
--------------------
|
||||
|
||||
* The :command:`ctest_coverage` command learned to read variable
|
||||
``CTEST_COVERAGE_EXTRA_FLAGS`` to set ``CoverageExtraFlags``.
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue