diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-02-22 20:30:44 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-03-10 20:19:38 (GMT) |
commit | 80b9f0cbe263c64613acd18e4e94505924fce40e (patch) | |
tree | b54a4cb9c11baf6fa0f0b4bd6e425ab2a6c98d0d /Source/cmGeneratorExpression.h | |
parent | 642048ce356304155bf67b85deeacb9d030c3300 (diff) | |
download | CMake-80b9f0cbe263c64613acd18e4e94505924fce40e.zip CMake-80b9f0cbe263c64613acd18e4e94505924fce40e.tar.gz CMake-80b9f0cbe263c64613acd18e4e94505924fce40e.tar.bz2 |
Genex: Extract an evaluateWithContext method.
Make it easier to make modifications to the context before
evaluating with it.
Diffstat (limited to 'Source/cmGeneratorExpression.h')
-rw-r--r-- | Source/cmGeneratorExpression.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpression.h b/Source/cmGeneratorExpression.h index 55d9691..11c27fd 100644 --- a/Source/cmGeneratorExpression.h +++ b/Source/cmGeneratorExpression.h @@ -24,6 +24,7 @@ class cmMakefile; class cmListFileBacktrace; struct cmGeneratorExpressionEvaluator; +struct cmGeneratorExpressionContext; struct cmGeneratorExpressionDAGChecker; class cmCompiledGeneratorExpression; @@ -131,6 +132,9 @@ public: std::map<std::string, std::string>& mapping); private: + const char* EvaluateWithContext(cmGeneratorExpressionContext& context, + cmGeneratorExpressionDAGChecker *dagChecker) const; + cmCompiledGeneratorExpression(cmListFileBacktrace const& backtrace, const std::string& input); |