summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorExpressionEvaluator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-11-27 13:35:02 -0500
committerCMake Topic Stage <kwrobot@kitware.com>2012-11-27 13:35:02 -0500
commit5f30a56f290acd7abd805e32f7537957ae78377d (patch)
tree0804f6d7630fdf716014de76b7638cabc6b6c0eb /Source/cmGeneratorExpressionEvaluator.h
parentd5adbbcf9cf7443392a38eb980886833de104826 (diff)
parentb581be07672e08cce4c29fa279b250d8e9c7aaba (diff)
downloadcmake-5f30a56f290acd7abd805e32f7537957ae78377d.tar.gz
Merge topic 'generator-expression-fixes'
b581be0 Genex: Don't segfault on $<FOO,> 07749e3 Genex: Ensure that $<0:...> has a parameter. ee96dc7 Genex: Extract a method to parse parameters.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.h')
-rw-r--r--Source/cmGeneratorExpressionEvaluator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.h b/Source/cmGeneratorExpressionEvaluator.h
index d37337ef5b..d904b027fe 100644
--- a/Source/cmGeneratorExpressionEvaluator.h
+++ b/Source/cmGeneratorExpressionEvaluator.h
@@ -32,6 +32,7 @@ struct cmGeneratorExpressionContext
};
struct cmGeneratorExpressionDAGChecker;
+struct cmGeneratorExpressionNode;
//----------------------------------------------------------------------------
struct cmGeneratorExpressionEvaluator
@@ -117,6 +118,13 @@ struct GeneratorExpressionContent : public cmGeneratorExpressionEvaluator
~GeneratorExpressionContent();
private:
+ std::string EvaluateParameters(const cmGeneratorExpressionNode *node,
+ const std::string &identifier,
+ cmGeneratorExpressionContext *context,
+ cmGeneratorExpressionDAGChecker *dagChecker,
+ std::vector<std::string> &parameters) const;
+
+private:
std::vector<cmGeneratorExpressionEvaluator*> IdentifierChildren;
std::vector<std::vector<cmGeneratorExpressionEvaluator*> > ParamChildren;
const char *StartContent;