Explorar o código

CTestCustom.cmake: Ignore clang's summary warning

Assuming prior text has matched some other warning expression...
David Cole %!s(int64=14) %!d(string=hai) anos
pai
achega
ad6fa0cbca
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      CTestCustom.cmake.in

+ 4 - 0
CTestCustom.cmake.in

@@ -44,6 +44,10 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
   "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
   "ld: warning: directory not found for option .-(F|L)"
   "warning.*This version of Mac OS X is unsupported"
+
+  # Ignore clang's summary warning, assuming prior text has matched some
+  # other warning expression:
+  "[0-9,]+ warnings? generated."
   )
 
 IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")