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

David Cole DLRdave at aol.com
Sat Oct 11 19:01:10 EDT 2014


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.


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


More information about the CMake mailing list