summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-11-09 20:08:56 (GMT)
committerBrad King <brad.king@kitware.com>2007-11-09 20:08:56 (GMT)
commite5bb99e01077a8ac084bbd6dbf8e2f81390b5cd9 (patch)
treecc16dd38764fc4bb9a3482591d7ced02433f8ac1 /Source/cmLocalVisualStudio6Generator.cxx
parentbb82b4871583f61766028e340e0e088616c62db7 (diff)
downloadCMake-e5bb99e01077a8ac084bbd6dbf8e2f81390b5cd9.zip
CMake-e5bb99e01077a8ac084bbd6dbf8e2f81390b5cd9.tar.gz
CMake-e5bb99e01077a8ac084bbd6dbf8e2f81390b5cd9.tar.bz2
ENH: Removed dependency on Templates/CMakeWindowsSystemConfig.cmake which is no longer used. Also removed the file itself.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx18
1 files changed, 1 insertions, 17 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index a6fec82..59bf35e 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -217,23 +217,7 @@ void cmLocalVisualStudio6Generator::AddDSPBuildRule(cmTarget& tgt)
START_OUTPUT, UNCHANGED, true);
commandLine.push_back(args);
- std::string configFile =
- this->Makefile->GetRequiredDefinition("CMAKE_ROOT");
- configFile += "/Templates/CMakeWindowsSystemConfig.cmake";
- std::vector<std::string> listFiles = this->Makefile->GetListFiles();
- bool found = false;
- for(std::vector<std::string>::iterator i = listFiles.begin();
- i != listFiles.end(); ++i)
- {
- if(*i == configFile)
- {
- found = true;
- }
- }
- if(!found)
- {
- listFiles.push_back(configFile);
- }
+ std::vector<std::string> const& listFiles = this->Makefile->GetListFiles();
cmCustomCommandLines commandLines;
commandLines.push_back(commandLine);