From 7f29f8966d672a2f8ef50b2249f6d826d1702bdc Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 2 Jul 2007 14:56:57 -0400 Subject: 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. --- Source/cmInstallExportGenerator.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/cmInstallExportGenerator.h') diff --git a/Source/cmInstallExportGenerator.h b/Source/cmInstallExportGenerator.h index 9dc2eff546..22e4a08cc4 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& 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 Configurations; std::string Filename; std::string Prefix; std::string TempOutputDir; -- cgit v1.2.1