summaryrefslogtreecommitdiffstats
path: root/Source/cmExportBuildFileGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-16 20:08:22 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-14 17:32:09 (GMT)
commit488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4 (patch)
tree9d4abfce9ebe0608ade61c5dab3364d89b899508 /Source/cmExportBuildFileGenerator.h
parent1583440509a148d216d6691cdaeede1aa24af95c (diff)
downloadCMake-488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4.zip
CMake-488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4.tar.gz
CMake-488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4.tar.bz2
cmMakefile: Store container of cmExportBuildFileGenerators.
Set a cmLocalGenerator on each instance at compute time. That will soon be needed to access cmGeneratorTarget instances. If a cmExportBuildFileGenerator is processed early during configure time as a result of CMP0024 it must be removed from the list to process later at generate time.
Diffstat (limited to 'Source/cmExportBuildFileGenerator.h')
-rw-r--r--Source/cmExportBuildFileGenerator.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/cmExportBuildFileGenerator.h b/Source/cmExportBuildFileGenerator.h
index ff3d2e1..16695f1 100644
--- a/Source/cmExportBuildFileGenerator.h
+++ b/Source/cmExportBuildFileGenerator.h
@@ -43,10 +43,7 @@ public:
/** Set whether to append generated code to the output file. */
void SetAppendMode(bool append) { this->AppendMode = append; }
- void SetMakefile(cmMakefile *mf) {
- this->Makefile = mf;
- this->Backtrace = this->Makefile->GetBacktrace();
- }
+ void Compute(cmLocalGenerator* lg);
protected:
// Implement virtual methods from the superclass.
@@ -80,8 +77,7 @@ protected:
std::vector<std::string> Targets;
cmExportSet *ExportSet;
std::vector<cmGeneratorTarget*> Exports;
- cmMakefile* Makefile;
- cmListFileBacktrace Backtrace;
+ cmLocalGenerator* LG;
};
#endif