| View Issue Details [ Jump to Notes ] | [ Print ] |
| 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. |
| Tags | No tags attached. |
|
| Attached Files | |
|