[CMake] CTest Custom warning exception in CTestCustom.cmake.in

Rashad M mohammedrashadkm at gmail.com
Sun Oct 12 00:42:34 EDT 2014


Hello David,

On Sun, Oct 12, 2014 at 4:31 AM, David Cole <DLRdave at aol.com> wrote:

> Does your dashboard script call ctest_read_custom_files after
> ctest_configure?
>
> You should do that, as the CMake and VTK (and other) dashboards do:
>
>
> http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=cmake_common.cmake;h=576db9a98725503b53e0a6e29f4db7682cfaf1a2;hb=182b93635464ee35100522dec811abb76b55c742#l367
>
> Looks like the regular expressions are correct... but if you're not
> calling ctest_read_custom_files, the CTestCustom file will have no
> effect.
>
> Yes I have ctest_read_custom_files after ctest_confgiure

see build notes - http://dash.orfeo-toolbox.org/viewNotes.php?buildid=160097


I thought it has something to do with '#' and quotes in the warning

....#warning "deprecated" [-Wcpp]



> HTH,
> David
>
>
>
> On Sat, Oct 11, 2014 at 9:47 AM, Rashad M <mohammedrashadkm at gmail.com>
> wrote:
> > Hi all,
> >
> > Can anyone explain me how to filter out the below warning from dashboard?
> >
> > warning: #warning "deprecated"
> > ...../vcl_deprecated_header.h:10:3: warning: #warning "deprecated"
> [-Wcpp]
> >  # warning "deprecated"
> >
> > So far I tried having below in CTestCustom.cmake
> >
> > set(CTEST_CUSTOM_WARNING_EXCEPTION
> >   ${CTEST_CUSTOM_WARNING_EXCEPTION}
> >   ".*vcl_deprecated_header.*warning.*"
> >   "vcl_deprecated_header"
> > ...
> > )
> >
> >
> >
> > --
> > Regards,
> >    Rashad
> >
> > --
> >
> > Powered by www.kitware.com
> >
> > Please keep messages on-topic and check the CMake FAQ at:
> > http://www.cmake.org/Wiki/CMake_FAQ
> >
> > Kitware offers various services to support the CMake community. For more
> > information on each offering, please visit:
> >
> > CMake Support: http://cmake.org/cmake/help/support.html
> > CMake Consulting: http://cmake.org/cmake/help/consulting.html
> > CMake Training Courses: http://cmake.org/cmake/help/training.html
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/cmake
>



-- 
Regards,
   Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141012/1d9630f6/attachment.html>


More information about the CMake mailing list