[cmake-developers] CMP0065 warning not supressed when --trace used

Alan W. Irwin irwin at beluga.phys.uvic.ca
Thu Jul 14 14:46:36 EDT 2016


On 2016-07-14 13:49-0400 Brad King wrote:

> On 07/14/2016 01:32 PM, Alan W. Irwin wrote:
>> I am addressing this mostly to you because you are the author of
>> CMP0065 which has the special property that by default it does not
>> warn when the policy is not set.  However, I find it does warn when
>> --trace is set which I am fairly sure is a (minor) bug.
>
> This is documented behavior:
>
> https://cmake.org/cmake/help/v3.6/variable/CMAKE_POLICY_WARNING_CMPNNNN.html
> "running cmake(1) with the --debug-output, --trace, or --trace-expand option
>  will also enable the warning."

I should have followed the obvious link in
<https://cmake.org/cmake/help/v3.5/policy/CMP0065.html#policy:CMP0065>
to the above URL.  Sorry for that noise.

>> should change "thier" (in the third last line) to "their".
>
> Recently fixed:
>
> Fix typos.
> https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=56608618

Glad that Felix Geyer spotted this and fixed it last weekend.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the cmake-developers mailing list