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.

This commit is contained in:
Brad King
2007-07-02 14:56:57 -04:00
parent fda7753f5c
commit 7f29f8966d
14 changed files with 222 additions and 336 deletions

View File

@@ -40,8 +40,6 @@ public:
static std::string GetInstallFilename(cmTarget*target, const char* config,
bool implib, bool useSOName);
const std::vector<std::string>& GetConfigurations() const {return this->Configurations;}
protected:
typedef cmInstallGeneratorIndent Indent;
virtual void GenerateScript(std::ostream& os);
@@ -66,8 +64,6 @@ protected:
cmTarget* Target;
bool ImportLibrary;
std::string FilePermissions;
std::vector<std::string> Configurations;
std::string Component;
bool Optional;
};