Re: [CMake] [CDash] CTEST_CUSTOM_WARNING_EXECPTION

2015-12-07 Thread Rashad Kanavath
Hello David,

It didn't worked. I end up passing -wno-cpp to the cmake flags to finally
get over this issue.

I don't get  how CTEST_CUSTOM_WARNING_EXCEPTION works.

How does this compare the regex when it gets a warning?

How do I disable all warnings from a directory? eg:
/path/to/build/Superbuild/TIFF/build



On Fri, Nov 6, 2015 at 1:09 PM, Rashad M  wrote:

>
> So using *.#warning.*deprecated.* should work?
>
> I will test this and let you know.
>
> On Thu, Nov 5, 2015 at 4:49 PM, David Cole  wrote:
>
>> Looks to me like it might be (I'm hopeful) working at ignoring the
>> line which matches the expression ".*vcl_deprecated_header.h.*" ...
>>
>> But then, the following line is:
>>
>>  # warning "deprecated"
>>
>> Since that line does not match any of your expressions, maybe that's
>> the one triggering this warning slipping through as unignored?
>>
>>
>> HTH,
>> D
>>
>>
>>
>>
>> On Thu, Nov 5, 2015 at 10:01 AM, Rashad M 
>> wrote:
>> > yes.
>> >
>> > On Thu, Nov 5, 2015 at 1:46 PM, David Cole  wrote:
>> >>
>> >> Does your ctest -S script call ctest_read_custom_files
>> >> https://cmake.org/cmake/help/v3.4/command/ctest_read_custom_files.html
>> after
>> >> ctest_configure?
>> >>
>> >>
>> >> On Thursday, November 5, 2015, Rashad M 
>> >> wrote:
>> >>>
>> >>> Hello all,
>> >>>
>> >>> I have CTestCustom.cmake.in file in source tree with the following
>> >>> contents
>> >>>
>> >>>
>> >>>
>> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in
>> >>>
>> >>> during ctest build CTestCustom.cmake file is getting generated inside
>> the
>> >>> build tree.
>> >>>
>> >>> But however the warnings are not filtered out on the dashboard. For
>> >>> instance, see the dashboard submission
>> >>>
>> http://dash.orfeo-toolbox.org/viewBuildError.php?type=1=206112
>> >>>
>> >>> and see the exception for vcl_deprecated_header
>> >>>
>> >>>
>> >>>
>> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in#l69
>> >>>
>> >>> The warning appears on dashobard anyway. Can someone point me in the
>> >>> right direction. ?
>> >>>
>> >>> Thanks in advance.
>> >>>
>> >>>
>> >>> CMake Version:
>> >>> 2.8.12.2
>> >>>
>> >>> CDash Version:
>> >>> 2.2.3
>> >>>
>> >>> uname -a
>> >>> Linux ubuntu
>> >>>
>> >>>  3.13.0-65-generic #106-Ubuntu SMP Fri Oct 2 22:08:27 UTC 2015 x86_64
>> >>> x86_64 x86_64 GNU/Linux
>> >>> --
>> >>> Regards,
>> >>>Rashad
>> >
>> >
>> >
>> >
>> > --
>> > Regards,
>> >Rashad
>>
>
>
>
> --
> Regards,
>Rashad
>



-- 
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

Re: [CMake] [CDash] CTEST_CUSTOM_WARNING_EXECPTION

2015-11-06 Thread Rashad M
So using *.#warning.*deprecated.* should work?

I will test this and let you know.

On Thu, Nov 5, 2015 at 4:49 PM, David Cole  wrote:

> Looks to me like it might be (I'm hopeful) working at ignoring the
> line which matches the expression ".*vcl_deprecated_header.h.*" ...
>
> But then, the following line is:
>
>  # warning "deprecated"
>
> Since that line does not match any of your expressions, maybe that's
> the one triggering this warning slipping through as unignored?
>
>
> HTH,
> D
>
>
>
>
> On Thu, Nov 5, 2015 at 10:01 AM, Rashad M 
> wrote:
> > yes.
> >
> > On Thu, Nov 5, 2015 at 1:46 PM, David Cole  wrote:
> >>
> >> Does your ctest -S script call ctest_read_custom_files
> >> https://cmake.org/cmake/help/v3.4/command/ctest_read_custom_files.html
> after
> >> ctest_configure?
> >>
> >>
> >> On Thursday, November 5, 2015, Rashad M 
> >> wrote:
> >>>
> >>> Hello all,
> >>>
> >>> I have CTestCustom.cmake.in file in source tree with the following
> >>> contents
> >>>
> >>>
> >>>
> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in
> >>>
> >>> during ctest build CTestCustom.cmake file is getting generated inside
> the
> >>> build tree.
> >>>
> >>> But however the warnings are not filtered out on the dashboard. For
> >>> instance, see the dashboard submission
> >>> http://dash.orfeo-toolbox.org/viewBuildError.php?type=1=206112
> >>>
> >>> and see the exception for vcl_deprecated_header
> >>>
> >>>
> >>>
> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in#l69
> >>>
> >>> The warning appears on dashobard anyway. Can someone point me in the
> >>> right direction. ?
> >>>
> >>> Thanks in advance.
> >>>
> >>>
> >>> CMake Version:
> >>> 2.8.12.2
> >>>
> >>> CDash Version:
> >>> 2.2.3
> >>>
> >>> uname -a
> >>> Linux ubuntu
> >>>
> >>>  3.13.0-65-generic #106-Ubuntu SMP Fri Oct 2 22:08:27 UTC 2015 x86_64
> >>> x86_64 x86_64 GNU/Linux
> >>> --
> >>> Regards,
> >>>Rashad
> >
> >
> >
> >
> > --
> > Regards,
> >Rashad
>



-- 
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

Re: [CMake] [CDash] CTEST_CUSTOM_WARNING_EXECPTION

2015-11-05 Thread David Cole via CMake
Does your ctest -S script call ctest_read_custom_files
https://cmake.org/cmake/help/v3.4/command/ctest_read_custom_files.html
after ctest_configure?


On Thursday, November 5, 2015, Rashad M  wrote:

> Hello all,
>
> I have CTestCustom.cmake.in file in source tree with the following
> contents
>
>
> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in
>
> during ctest build CTestCustom.cmake file is getting generated inside the
> build tree.
>
> But however the warnings are not filtered out on the dashboard. For
> instance, see the dashboard submission
> http://dash.orfeo-toolbox.org/viewBuildError.php?type=1=206112
>
> and see the exception for vcl_deprecated_header
>
>
> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in#l69
>
> The warning appears on dashobard anyway. Can someone point me in the right
> direction. ?
>
> Thanks in advance.
>
>
> CMake Version:
> 2.8.12.2
>
> CDash Version:
> 2.2.3
>
> uname -a
> Linux ubuntu
>
>  3.13.0-65-generic #106-Ubuntu SMP Fri Oct 2 22:08:27 UTC 2015 x86_64
> x86_64 x86_64 GNU/Linux
> --
> 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

Re: [CMake] [CDash] CTEST_CUSTOM_WARNING_EXECPTION

2015-11-05 Thread David Cole via CMake
Looks to me like it might be (I'm hopeful) working at ignoring the
line which matches the expression ".*vcl_deprecated_header.h.*" ...

But then, the following line is:

 # warning "deprecated"

Since that line does not match any of your expressions, maybe that's
the one triggering this warning slipping through as unignored?


HTH,
D




On Thu, Nov 5, 2015 at 10:01 AM, Rashad M  wrote:
> yes.
>
> On Thu, Nov 5, 2015 at 1:46 PM, David Cole  wrote:
>>
>> Does your ctest -S script call ctest_read_custom_files
>> https://cmake.org/cmake/help/v3.4/command/ctest_read_custom_files.html after
>> ctest_configure?
>>
>>
>> On Thursday, November 5, 2015, Rashad M 
>> wrote:
>>>
>>> Hello all,
>>>
>>> I have CTestCustom.cmake.in file in source tree with the following
>>> contents
>>>
>>>
>>> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in
>>>
>>> during ctest build CTestCustom.cmake file is getting generated inside the
>>> build tree.
>>>
>>> But however the warnings are not filtered out on the dashboard. For
>>> instance, see the dashboard submission
>>> http://dash.orfeo-toolbox.org/viewBuildError.php?type=1=206112
>>>
>>> and see the exception for vcl_deprecated_header
>>>
>>>
>>> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in#l69
>>>
>>> The warning appears on dashobard anyway. Can someone point me in the
>>> right direction. ?
>>>
>>> Thanks in advance.
>>>
>>>
>>> CMake Version:
>>> 2.8.12.2
>>>
>>> CDash Version:
>>> 2.2.3
>>>
>>> uname -a
>>> Linux ubuntu
>>>
>>>  3.13.0-65-generic #106-Ubuntu SMP Fri Oct 2 22:08:27 UTC 2015 x86_64
>>> x86_64 x86_64 GNU/Linux
>>> --
>>> Regards,
>>>Rashad
>
>
>
>
> --
> 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


Re: [CMake] [CDash] CTEST_CUSTOM_WARNING_EXECPTION

2015-11-05 Thread Rashad M
yes.

On Thu, Nov 5, 2015 at 1:46 PM, David Cole  wrote:

> Does your ctest -S script call ctest_read_custom_files
> https://cmake.org/cmake/help/v3.4/command/ctest_read_custom_files.html
> after ctest_configure?
>
>
> On Thursday, November 5, 2015, Rashad M 
> wrote:
>
>> Hello all,
>>
>> I have CTestCustom.cmake.in file in source tree with the following
>> contents
>>
>>
>> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in
>>
>> during ctest build CTestCustom.cmake file is getting generated inside the
>> build tree.
>>
>> But however the warnings are not filtered out on the dashboard. For
>> instance, see the dashboard submission
>> http://dash.orfeo-toolbox.org/viewBuildError.php?type=1=206112
>>
>> and see the exception for vcl_deprecated_header
>>
>>
>> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/CMake/CTestCustom.cmake.in#l69
>>
>> The warning appears on dashobard anyway. Can someone point me in the
>> right direction. ?
>>
>> Thanks in advance.
>>
>>
>> CMake Version:
>> 2.8.12.2
>>
>> CDash Version:
>> 2.2.3
>>
>> uname -a
>> Linux ubuntu
>>
>>  3.13.0-65-generic #106-Ubuntu SMP Fri Oct 2 22:08:27 UTC 2015 x86_64
>> x86_64 x86_64 GNU/Linux
>> --
>> Regards,
>>Rashad
>>
>


-- 
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