summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-11-26 21:42:00 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-11-26 21:52:22 (GMT)
commitee96dc76864b899684d62b51edd87d3083e80168 (patch)
tree75c8d00dee9cfb81502b350bdb8d9f80935b536f /Source/cmGeneratorExpressionEvaluator.h
parente5748521206e1f240d495d1ec3b2ccd31611f081 (diff)
downloadCMake-ee96dc76864b899684d62b51edd87d3083e80168.zip
CMake-ee96dc76864b899684d62b51edd87d3083e80168.tar.gz
CMake-ee96dc76864b899684d62b51edd87d3083e80168.tar.bz2
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 04a2acd..642a02e 100644
--- a/Source/cmGeneratorExpressionEvaluator.h
+++ b/Source/cmGeneratorExpressionEvaluator.h
@@ -33,6 +33,7 @@ struct cmGeneratorExpressionContext
};
struct cmGeneratorExpressionDAGChecker;
+struct cmGeneratorExpressionNode;
//----------------------------------------------------------------------------
struct cmGeneratorExpressionEvaluator
@@ -118,6 +119,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;