The following issue has been SUBMITTED.
======================================================================
https://cmake.org/Bug/view.php?id=16067
======================================================================
Reported By: Johannes S. Mueller-Roemer
Assigned To:
======================================================================
Project: CMake
Issue ID: 16067
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2016-04-15 10:20 EDT
Last Modified: 2016-04-15 10:20 EDT
======================================================================
Summary: $<TARGET_POLICY:*> generator expression evaluates to
NEW instead of 1
Description:
When the $<TARGET_POLICY:*> generator expression is used, it should evaluate to
1 if the given policy is new and 0 if it is old, as documented here:
https://cmake.org/cmake/help/v3.5/manual/cmake-generator-expressions.7.html
However, with the current version of CMake it evaluates to NEW in the true case.
I did not test the false case, which probably evaluates to OLD.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2016-04-15 10:20 Johannes S. Mueller-RoemerNew Issue
======================================================================
--
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-developers