ENH: Do not generate install target unless some INSTALL or INSTALL_* commands have been used. This addresses bug#2827.

This commit is contained in:
Brad King
2006-08-31 10:47:00 -04:00
parent 8ffb32369f
commit 239fce5caa
6 changed files with 82 additions and 52 deletions
+2
View File
@@ -123,6 +123,7 @@ public:
void AddLocalGenerator(cmLocalGenerator *lg);
void AddInstallComponent(const char* component);
void EnableInstallTarget();
static int s_TryCompileTimeout;
@@ -221,6 +222,7 @@ protected:
// Set of named installation components requested by the project.
std::set<cmStdString> InstallComponents;
bool InstallTargetEnabled;
// Manifest of all targets that will be built for each configuration.
// This is computed just before local generators generate.