Skip to content
Snippets Groups Projects
Commit fa157c55 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

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 CTestCustom.cmake.in. 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
developers
parent 68796fb4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment