MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0016067 | CMake | CMake | public | 2016-04-15 10:20 | 2016-06-10 14:21 |
|
Reporter | Johannes S. Mueller-Roemer | |
Assigned To | | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | |
Platform | x86-64 | OS | Windows | OS Version | 10 |
Product Version | CMake 3.5.1 | |
Target Version | | Fixed in Version | | |
|
Summary | 0016067: $<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. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-04-15 10:20 | Johannes S. Mueller-Roemer | New Issue | |
2016-04-15 10:26 | Johannes S. Mueller-Roemer | Note Added: 0040865 | |
2016-04-15 10:28 | Brad King | Status | new => resolved |
2016-04-15 10:28 | Brad King | Resolution | open => no change required |
2016-06-10 14:21 | Kitware Robot | Note Added: 0041195 | |
2016-06-10 14:21 | Kitware Robot | Status | resolved => closed |