mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
ENH: Do not generate install target unless some INSTALL or INSTALL_* commands have been used. This addresses bug#2827.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user