summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallExportGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-07-02 18:56:57 (GMT)
committerBrad King <brad.king@kitware.com>2007-07-02 18:56:57 (GMT)
commit7f29f8966d672a2f8ef50b2249f6d826d1702bdc (patch)
tree3508ba83985e80094c6f68518dc49cdf6f9f910c /Source/cmInstallExportGenerator.h
parentfda7753f5ccac7ed2d3c9822e55cebd42c4467d2 (diff)
downloadCMake-7f29f8966d672a2f8ef50b2249f6d826d1702bdc.zip
CMake-7f29f8966d672a2f8ef50b2249f6d826d1702bdc.tar.gz
CMake-7f29f8966d672a2f8ef50b2249f6d826d1702bdc.tar.bz2
ENH: Further cleanup of installation script generation. The per-component and per-configuration testing is now done in cmake code instead of in the FILE(INSTALL) command. The generation of the cmake code to do these tests is centralized in cmInstallGenerator. Old-style shared library versioning and component/config support code has been removed from FILE(INSTALL). This commit is surrounded by the tags CMake-InstallGeneratorCleanup2-pre and CMake-InstallGeneratorCleanup2-post.
Diffstat (limited to 'Source/cmInstallExportGenerator.h')
-rw-r--r--Source/cmInstallExportGenerator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmInstallExportGenerator.h b/Source/cmInstallExportGenerator.h
index 9dc2eff..22e4a08 100644
--- a/Source/cmInstallExportGenerator.h
+++ b/Source/cmInstallExportGenerator.h
@@ -55,6 +55,7 @@ class cmInstallExportGenerator: public cmInstallGenerator
public:
cmInstallExportGenerator(const char* dest, const char* file_permissions,
const std::vector<std::string>& configurations,
+ const char* component,
const char* filename, const char* prefix,
const char* tempOutputDir);
@@ -73,14 +74,15 @@ protected:
cmTargetWithProperties();
};
+ typedef cmInstallGeneratorIndent Indent;
virtual void GenerateScript(std::ostream& os);
+ virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
static bool AddInstallLocations(cmTargetWithProperties *twp,
cmInstallTargetGenerator* generator,
const char* prefix);
std::string Name;
std::string FilePermissions;
- const std::vector<std::string> Configurations;
std::string Filename;
std::string Prefix;
std::string TempOutputDir;