Browse Source

Add option to control number of errors sent to dashbaord

Ian Scott 23 years ago
parent
commit
7d907a9a61
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Modules/Dart.cmake

+ 4 - 0
Modules/Dart.cmake

@@ -28,6 +28,8 @@ IF(BUILD_TESTING)
   # to be defined by cmake 
   # to be defined by cmake 
   SET(MAKEPROGRAM ${CMAKE_MAKE_PROGRAM})
   SET(MAKEPROGRAM ${CMAKE_MAKE_PROGRAM})
   OPTION(VERBOSE_BUILD "Show the actual output of the build, or if off show a . for each 1024 bytes." "OFF")
   OPTION(VERBOSE_BUILD "Show the actual output of the build, or if off show a . for each 1024 bytes." "OFF")
+  OPTION(BUILD_ERROR_REPORT_LIMIT "Limit of reported errors, -1 reports all." -1 )  
+  OPTION(BUILD_WARNING_REPORT_LIMIT "Limit of reported warnings, -1 reports all." -1 )  
 
 
   FIND_PROGRAM(CVSCOMMAND cvs )
   FIND_PROGRAM(CVSCOMMAND cvs )
   SET(CVS_UPDATE_OPTIONS "-d -A -P" CACHE STRING "Options passed to the cvs update command.")
   SET(CVS_UPDATE_OPTIONS "-d -A -P" CACHE STRING "Options passed to the cvs update command.")
@@ -58,6 +60,8 @@ IF(BUILD_TESTING)
 
 
   MARK_AS_ADVANCED(
   MARK_AS_ADVANCED(
     VERBOSE_BUILD
     VERBOSE_BUILD
+    BUILD_WARNING_REPORT_LIMIT 
+    BUILD_ERROR_REPORT_LIMIT     
     SITE 
     SITE 
     BUILDNAME 
     BUILDNAME 
     MAKECOMMAND 
     MAKECOMMAND