mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 05:45:51 +00:00
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
This commit is contained in:
parent
e853caaf61
commit
ccac51a5cb
@ -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);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user