[cmake-developers] Add command line options for deprecation message control

Brad King brad.king at kitware.com
Tue Jun 23 08:39:12 EDT 2015


On 06/22/2015 03:56 PM, Michael Scott wrote:
> the actual and expected values are identical. Why would this happen?

The expected value file is actually a regular expression that must
match the actual value.  This allows it to tolerate path differences
and other minor variations in the actual output.  Any regex meta-chars
need to be escaped in the -stderr.txt file.  Take a look at the code
in Tests/RunCMake/RunCMake.cmake to see the transformations done.

Thanks,
-Brad



More information about the cmake-developers mailing list