Commit fa157c55 authored by Rashad Kanavath's avatar Rashad Kanavath

WRG: hide msvc D9025 warning on dashboard

This bitching warning seems too annoying on dashboard
superbuild-contrib build. total number of warnings seems
300. This magic number is the maximum number of dashboard
warnings in OTB. superbuild usually set max warnings to zero
in their But here the issue is when
doing superbuild-contrib we switch binary directory to OTB
and run configure, build, install from it and not from
SuperBuild binary directory.

The case about D9025 warning on msvc is actually a misconfig
in the list of arguments passed. The related cause is from
Modules/ThirdParty/6S/src/CMakeLists.txt where we force /Ob1
flag for msvc > 1800. the change is decorated with
enough inline docs. As this is a commandline warning, it cannot
be silenced using #pragma and moreover it is important to show
it to user. But for dashboard case, it is too annoying for
parent 68796fb4
......@@ -86,6 +86,7 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION
# Ignore clang's summary warning, assuming prior text has matched some
# other warning expression:
"[0-9,]+ warnings? generated."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment