diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-06-22 09:06:46 -0400 |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-06-22 09:06:46 -0400 |
commit | 369308ca767367e5dd68fd783c830fd8a57ec751 (patch) | |
tree | df00ee1c003cb33dd70fb622dfd85fd6d2a058cb /Source/cmGlobalVisualStudio71Generator.cxx | |
parent | 5fab6eebd651351ec3e712923cfa2d4b36788d74 (diff) | |
download | cmake-369308ca767367e5dd68fd783c830fd8a57ec751.tar.gz |
ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index 455ae4aa61..bba2ae5cc6 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -96,9 +96,8 @@ void cmGlobalVisualStudio71Generator::WriteSLNFile(std::ostream& fout, unsigned int j; for(j = 0; j < generators.size(); ++j) { - const cmTargets &atgts = - generators[j]->GetMakefile()->GetTargets(); - for(cmTargets::const_iterator al = atgts.begin(); + cmTargets &atgts = generators[j]->GetMakefile()->GetTargets(); + for(cmTargets::iterator al = atgts.begin(); al != atgts.end(); ++al) { if (al->second.IsInAll()) @@ -229,7 +228,7 @@ void cmGlobalVisualStudio71Generator::WriteProject(std::ostream& fout, const char* dspname, const char* dir, - const cmTarget& t) + cmTarget& t) { std::string d = cmSystemTools::ConvertToOutputPath(dir); fout << "Project(\"{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}\") = \"" @@ -252,8 +251,7 @@ void cmGlobalVisualStudio71Generator ::WriteProjectDepends(std::ostream& fout, const char* dspname, - const char*, - const cmTarget& target) + const char*, cmTarget& target) { // insert Begin Project Dependency Project_Dep_Name project stuff here if (target.GetType() != cmTarget::STATIC_LIBRARY) |