diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-10-07 15:36:09 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-10-07 15:36:09 (GMT) |
commit | ccac51a5cb904e675db7306b19cf3ce946d7b4ae (patch) | |
tree | 133b6f7483e1e41541fdc09d3ec98f0de318b91b /Source | |
parent | e853caaf6128fcd6b579a80059a692d71e55f73a (diff) | |
download | CMake-ccac51a5cb904e675db7306b19cf3ce946d7b4ae.zip CMake-ccac51a5cb904e675db7306b19cf3ce946d7b4ae.tar.gz CMake-ccac51a5cb904e675db7306b19cf3ce946d7b4ae.tar.bz2 |
ENH: Add support for setting the maximum number of errors and warnings reported. This should fix Bug #2318 - The maximum number of errors to report is fixed to 50
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestBuildHandler.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx index 0d59821..a724e18 100644 --- a/Source/CTest/cmCTestBuildHandler.cxx +++ b/Source/CTest/cmCTestBuildHandler.cxx @@ -226,6 +226,12 @@ void cmCTestBuildHandler::PopulateCustomVectors(cmMakefile *mf) m_CustomWarningMatches); cmCTest::PopulateCustomVector(mf, "CTEST_CUSTOM_WARNING_EXCEPTION", m_CustomWarningExceptions); + cmCTest::PopulateCustomInteger(mf, + "CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS", + m_MaxErrors); + cmCTest::PopulateCustomInteger(mf, + "CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS", + m_MaxWarnings); } //---------------------------------------------------------------------- |