diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-01 10:19:32 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-01 11:07:11 (GMT) |
commit | 12c3f24827d2459154fcc9773b279f96c303e591 (patch) | |
tree | db4b3f68b00068a9960875d539b95432e424b870 /Source/cmLocalGenerator.cxx | |
parent | 6c0e9ee276e9e35a970990baec09c0c2c85b3804 (diff) | |
download | CMake-12c3f24827d2459154fcc9773b279f96c303e591.zip CMake-12c3f24827d2459154fcc9773b279f96c303e591.tar.gz CMake-12c3f24827d2459154fcc9773b279f96c303e591.tar.bz2 |
cmGeneratorExpressionEvaluationFile: Require generator context.
Avoid storing a cmMakefile as a member, and evaluate in the context of
a cmLocalGenerator instead.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 7cc256a..ea0f658 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -220,7 +220,7 @@ void cmLocalGenerator::CreateEvaluationFileOutputs(std::string const& config) for(std::vector<cmGeneratorExpressionEvaluationFile*>::const_iterator li = ef.begin(); li != ef.end(); ++li) { - (*li)->CreateOutputFile(config); + (*li)->CreateOutputFile(this, config); } } @@ -234,7 +234,7 @@ void cmLocalGenerator::ProcessEvaluationFiles( li != ef.end(); ++li) { - (*li)->Generate(); + (*li)->Generate(this); if (cmSystemTools::GetFatalErrorOccured()) { return; |