diff options
author | Brad King <brad.king@kitware.com> | 2006-08-31 14:47:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-31 14:47:00 (GMT) |
commit | 239fce5caa59daeaea830aa38e0cb576599221da (patch) | |
tree | ff4824f735b799f55f79da7ba394d54c77d32b88 /Source/cmGlobalGenerator.h | |
parent | 8ffb32369fedfbbd59631bbd9472c5fb1cd462f7 (diff) | |
download | CMake-239fce5caa59daeaea830aa38e0cb576599221da.zip CMake-239fce5caa59daeaea830aa38e0cb576599221da.tar.gz CMake-239fce5caa59daeaea830aa38e0cb576599221da.tar.bz2 |
ENH: Do not generate install target unless some INSTALL or INSTALL_* commands have been used. This addresses bug#2827.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index b4ef86f..7c6caf0 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -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. |