diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx index 04decd239c..0b96c3fb23 100644 --- a/Source/cmGeneratorExpression.cxx +++ b/Source/cmGeneratorExpression.cxx @@ -70,13 +70,6 @@ const std::string& cmCompiledGeneratorExpression::Evaluate( currentTarget ? currentTarget : headTarget, this->EvaluateForBuildsystem, this->Backtrace, language); - return this->EvaluateWithContext(context, dagChecker); -} - -const std::string& cmCompiledGeneratorExpression::EvaluateWithContext( - cmGeneratorExpressionContext& context, - cmGeneratorExpressionDAGChecker* dagChecker) const -{ if (!this->NeedsEvaluation) { return this->Input; } diff --git a/Source/cmGeneratorExpression.h b/Source/cmGeneratorExpression.h index e22b8aba52..71855c9f6a 100644 --- a/Source/cmGeneratorExpression.h +++ b/Source/cmGeneratorExpression.h @@ -17,7 +17,6 @@ class cmake; class cmCompiledGeneratorExpression; class cmGeneratorTarget; -struct cmGeneratorExpressionContext; struct cmGeneratorExpressionDAGChecker; struct cmGeneratorExpressionEvaluator; @@ -151,10 +150,6 @@ public: std::map& mapping); private: - const std::string& EvaluateWithContext( - cmGeneratorExpressionContext& context, - cmGeneratorExpressionDAGChecker* dagChecker) const; - cmCompiledGeneratorExpression(cmake& cmakeInstance, cmListFileBacktrace backtrace, std::string input);