summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-19 17:10:21 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-19 17:10:21 (GMT)
commitc0d000d234525c709b8f6226d1c78c3cc0b632b3 (patch)
treefce16d3de49d612d0c545e2b385eed04b736a945 /Source/cmGlobalGenerator.h
parent617602e9e9e0ff57a3ef35e62e17d4a764edf920 (diff)
downloadCMake-c0d000d234525c709b8f6226d1c78c3cc0b632b3.zip
CMake-c0d000d234525c709b8f6226d1c78c3cc0b632b3.tar.gz
CMake-c0d000d234525c709b8f6226d1c78c3cc0b632b3.tar.bz2
ENH: add INSTALL(EXPORT ...) mode and INSTALL( TARGETS ... EXPORT <set> ) ,
tests still have to be added Alex
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 8ed5e3a..7785c9a 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -27,6 +27,8 @@ class cmMakefile;
class cmLocalGenerator;
class cmExternalMakefileProjectGenerator;
class cmTarget;
+class cmTargetExport;
+class cmInstallTargetGenerator;
/** \class cmGlobalGenerator
* \brief Responable for overseeing the generation process for the entire tree
@@ -129,8 +131,17 @@ public:
const char* GetExtraGeneratorName() const;
void AddInstallComponent(const char* component);
+
+ ///! Add one installed target to the sets of the exports
+ void AddTargetToExports(const char* exportSet, cmTarget* target,
+ cmInstallTargetGenerator* archive,
+ cmInstallTargetGenerator* runTime,
+ cmInstallTargetGenerator* library);
+ ///! Get the export target set with the given name
+ const std::vector<cmTargetExport*>* GetExportSet(const char* name) const;
+
void EnableInstallTarget();
-
+
int TryCompileTimeout;
bool GetForceUnixPaths() {return this->ForceUnixPaths;}
@@ -231,6 +242,8 @@ protected:
// Set of named installation components requested by the project.
std::set<cmStdString> InstallComponents;
bool InstallTargetEnabled;
+ // Sets of named target exports
+ std::map<cmStdString, std::vector<cmTargetExport*> > ExportSets;
// Manifest of all targets that will be built for each configuration.
// This is computed just before local generators generate.