summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-04-04 15:48:19 (GMT)
committerBrad King <brad.king@kitware.com>2006-04-04 15:48:19 (GMT)
commit2301a025ea1ed9a61cf0028f88b32f726162fbf7 (patch)
tree2e9f8ba74c01e98c9b22c846edc34a06865b6ae8 /Source/cmGlobalGenerator.h
parentcddedaa7d85c1a4ccc3502a6ec56f6e6cdea6f90 (diff)
downloadCMake-2301a025ea1ed9a61cf0028f88b32f726162fbf7.zip
CMake-2301a025ea1ed9a61cf0028f88b32f726162fbf7.tar.gz
CMake-2301a025ea1ed9a61cf0028f88b32f726162fbf7.tar.bz2
ENH: Added global TargetManifest computation between Configure and Generate steps. This allows generators to know what other targets will exist on disk when the build completes.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index c5a5f78..3911d9e 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -171,6 +171,10 @@ public:
const char* suffix,
std::string& dir);
+ /** Get the manifest of all targets that will be built for each
+ configuration. This is valid during generation only. */
+ cmTargetManifest const& GetTargetManifest() { return this->TargetManifest; }
+
protected:
// Fill the ProjectMap, this must be called after LocalGenerators
// has been populated.
@@ -205,6 +209,10 @@ protected:
// Set of named installation components requested by the project.
std::set<cmStdString> InstallComponents;
+ // Manifest of all targets that will be built for each configuration.
+ // This is computed just before local generators generate.
+ cmTargetManifest TargetManifest;
+
private:
// If you add a new map here, make sure it is copied
// in EnableLanguagesFromGenerator