diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-17 23:32:35 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-12-19 15:17:59 (GMT) |
commit | d36b48940114c7cc33f5592f06c372084a6b48f0 (patch) | |
tree | 58843ecb3103b9bfda3da9cdafebc81992a96bfd /Tests/CPackComponentsForAll | |
parent | 218ad35f96e89dc1c311ff52445c8ec03b828d5b (diff) | |
download | CMake-d36b48940114c7cc33f5592f06c372084a6b48f0.zip CMake-d36b48940114c7cc33f5592f06c372084a6b48f0.tar.gz CMake-d36b48940114c7cc33f5592f06c372084a6b48f0.tar.bz2 |
Genex: Allow single param expressions to accept arbirary input.
Existing single-parameter expressions work due to special casing
which assumes that if there is only one parameter, and the node
accepts arbitrary content, then the result is the input.
This is true for the existing expressions matching that
pattern - namely the "1" and "TARGET_NAME" expressions. However,
the LOWER_CASE, and UPPER_CASE expressions should also accept
arbitrary content, and in their case, the result is not the input.
Refactor the cmGeneratorExpressionEvaluator to allow that extension.
Actually evaluate the "1" and "0" nodes.
Diffstat (limited to 'Tests/CPackComponentsForAll')
0 files changed, 0 insertions, 0 deletions