View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016067CMakeCMakepublic2016-04-15 10:202016-06-10 14:21
ReporterJohannes S. Mueller-Roemer 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
Platformx86-64OSWindowsOS Version10
Product VersionCMake 3.5.1 
Target VersionFixed in Version 
Summary0016067: $<TARGET_POLICY:*> generator expression evaluates to NEW instead of 1
DescriptionWhen 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0040865)
Johannes S. Mueller-Roemer (reporter)
2016-04-15 10:26

Please ignore this issue, the error was in our own CMake code.
(0041195)
Kitware Robot (administrator)
2016-06-10 14:21

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 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


Copyright © 2000 - 2018 MantisBT Team