diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-15 10:02:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-12-19 15:17:59 (GMT) |
commit | f4d9466130c28d4d9f24885f9183a95ee115bb3c (patch) | |
tree | f9944f1597991b424111241d43790dc22fcb9972 /Source | |
parent | d36b48940114c7cc33f5592f06c372084a6b48f0 (diff) | |
download | CMake-f4d9466130c28d4d9f24885f9183a95ee115bb3c.zip CMake-f4d9466130c28d4d9f24885f9183a95ee115bb3c.tar.gz CMake-f4d9466130c28d4d9f24885f9183a95ee115bb3c.tar.bz2 |
Genex: Accept arbitrary content in *_CASE and MAKE_C_IDENTIFIER.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx index 34d4434..c1d1086 100644 --- a/Source/cmGeneratorExpressionEvaluator.cxx +++ b/Source/cmGeneratorExpressionEvaluator.cxx @@ -201,6 +201,8 @@ static const struct LowerCaseNode : public cmGeneratorExpressionNode { LowerCaseNode() {} + bool AcceptsArbitraryContentParameter() const { return true; } + std::string Evaluate(const std::vector<std::string> ¶meters, cmGeneratorExpressionContext *, const GeneratorExpressionContent *, @@ -215,6 +217,8 @@ static const struct UpperCaseNode : public cmGeneratorExpressionNode { UpperCaseNode() {} + bool AcceptsArbitraryContentParameter() const { return true; } + std::string Evaluate(const std::vector<std::string> ¶meters, cmGeneratorExpressionContext *, const GeneratorExpressionContent *, @@ -229,6 +233,8 @@ static const struct MakeCIdentifierNode : public cmGeneratorExpressionNode { MakeCIdentifierNode() {} + bool AcceptsArbitraryContentParameter() const { return true; } + std::string Evaluate(const std::vector<std::string> ¶meters, cmGeneratorExpressionContext *, const GeneratorExpressionContent *, |