diff options
author | Brad King <brad.king@kitware.com> | 2007-05-23 19:40:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-23 19:40:12 (GMT) |
commit | ba7780a3c494f2c2989e9528366c69dafbdccfec (patch) | |
tree | 38d791d439b11d6b02b9e3c4f20123b2b9734259 /Source/cmGlobalVisualStudio71Generator.cxx | |
parent | 303b4312b2c28329a2aecde7d7ddd84137efa1ce (diff) | |
download | CMake-ba7780a3c494f2c2989e9528366c69dafbdccfec.zip CMake-ba7780a3c494f2c2989e9528366c69dafbdccfec.tar.gz CMake-ba7780a3c494f2c2989e9528366c69dafbdccfec.tar.bz2 |
ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create targets. No targets of type cmTarget::INSTALL_FILES or cmTarget::INSTALL_PROGRAMS are created, so we do not need to check for them everywhere anymore.
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index fe67f01..fe39318 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -134,9 +134,6 @@ void cmGlobalVisualStudio71Generator } else { - if ((l->second.GetType() != cmTarget::INSTALL_FILES) - && (l->second.GetType() != cmTarget::INSTALL_PROGRAMS)) - { bool skip = false; if(l->first == "ALL_BUILD" ) { @@ -224,7 +221,6 @@ void cmGlobalVisualStudio71Generator this->WriteProject(fout, dspname, dir.c_str(),l->second); } } - } } } } @@ -254,8 +250,7 @@ void cmGlobalVisualStudio71Generator this->WriteProjectConfigurations(fout, project.c_str(), true); } - else if ((l->second.GetType() != cmTarget::INSTALL_FILES) - && (l->second.GetType() != cmTarget::INSTALL_PROGRAMS)) + else { bool partOfDefaultBuild = this->IsPartOfDefaultBuild( root->GetMakefile()->GetProjectName(), |