[CMake] Unable to get CTEST_CUSTOM_WARNING_MATCH working
Trevor Kellaway
tkellaway at asl-electronics.co.uk
Sat Apr 14 14:28:08 EDT 2007
Hi,
I've been trying to get CTEST_CUSTOM_WARNING_MATCH working for an
embedded compiler that produces info and warning messages with
"INFORMATION" and "WARNING", so that my build log reports to the Dart
server flags these up as warnings.
The example in the Wiki shows:
SET(CTEST_CUSTOM_WARNING_MATCH
${CTEST_CUSTOM_WARNING_MATCH}
"{standard input}:[0-9][0-9]*: Warning: "
)
What is the "{standard input}" in the regex doing?
Is there a definitive definition of the regex style supported by CMake
anywhere?
I've tried this:
SET( CTEST_CUSTOM_WARNING_MATCH
${CTEST_CUSTOM_WARNING_MATCH}
"*INFORMATION*"
".*INFORMATION.*"
"INFORMATION"
"*WARNING*"
".*WARNING.*"
"WARNING"
)
Performing an "NMake Experimental" I'm dumping out
CTEST_CUSTOM_WARNING_MATCH prior and post of my "INCLUDE(CTest)":
CTEST_CUSTOM_WARNING_MATCH=Warning;Info;*INFORMATION*;.*INFORMATION.*;IN
FORMATION;*WARNING*;.*WARNING.*;WARNING
Looking in my build log (Temporary/LastBuild_20070414-1813.log) I have a
warning:
[ 31%] Building C object tmp/elg/CMakeFiles/elg.dir/elglgerr.o
M:\Users\TK\trunk\sw\vpa_host\source\elg\elglgerr.c(66): WARNING C5651:
Local variable "e" may be not initialized
But the generated Build.xml doesn't contain any information for this (it
claims a successful build).
Does anyone have any idea what is going on?
PS: Running cmake version 2.4-patch 6 under Windows (using NMake).
- TrevK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070414/20704f23/attachment.html
More information about the CMake
mailing list