|
@@ -90,6 +90,7 @@ const char *cmCompiledGeneratorExpression::Evaluate(
|
|
|
context.HadError = false;
|
|
context.HadError = false;
|
|
|
context.HadContextSensitiveCondition = false;
|
|
context.HadContextSensitiveCondition = false;
|
|
|
context.HeadTarget = headTarget;
|
|
context.HeadTarget = headTarget;
|
|
|
|
|
+ context.EvaluateForBuildsystem = this->EvaluateForBuildsystem;
|
|
|
context.CurrentTarget = currentTarget ? currentTarget : headTarget;
|
|
context.CurrentTarget = currentTarget ? currentTarget : headTarget;
|
|
|
context.Backtrace = this->Backtrace;
|
|
context.Backtrace = this->Backtrace;
|
|
|
|
|
|
|
@@ -124,7 +125,8 @@ cmCompiledGeneratorExpression::cmCompiledGeneratorExpression(
|
|
|
cmListFileBacktrace const& backtrace,
|
|
cmListFileBacktrace const& backtrace,
|
|
|
const std::string& input)
|
|
const std::string& input)
|
|
|
: Backtrace(backtrace), Input(input),
|
|
: Backtrace(backtrace), Input(input),
|
|
|
- HadContextSensitiveCondition(false)
|
|
|
|
|
|
|
+ HadContextSensitiveCondition(false),
|
|
|
|
|
+ EvaluateForBuildsystem(false)
|
|
|
{
|
|
{
|
|
|
cmGeneratorExpressionLexer l;
|
|
cmGeneratorExpressionLexer l;
|
|
|
std::vector<cmGeneratorExpressionToken> tokens =
|
|
std::vector<cmGeneratorExpressionToken> tokens =
|