ENH: Added named component installation implementation. Installation behavior should be unchanged unless -DCOMPONENT=<name> is specified when cmake_install.cmake is invoked.

This commit is contained in:
Brad King
2006-03-30 13:33:48 -05:00
parent 3cf3fc510f
commit 08b14163ee
12 changed files with 203 additions and 27 deletions
+3 -1
View File
@@ -28,7 +28,8 @@ class cmInstallTargetGenerator: public cmInstallGenerator
{
public:
cmInstallTargetGenerator(cmTarget& t, const char* dest, bool implib,
const char* permissions = "");
const char* permissions = "",
const char* component = "");
virtual ~cmInstallTargetGenerator();
protected:
@@ -43,6 +44,7 @@ protected:
std::string Destination;
bool ImportLibrary;
std::string Permissions;
std::string Component;
};
#endif