diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-04-26 20:22:53 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-04-26 20:22:53 (GMT) |
commit | 41e1270413b18272bc73a8b25150aad4c7913563 (patch) | |
tree | 97d507f6296c78e5aaf17e1858e610cf95c46ba7 /Source/cmDSWWriter.cxx | |
parent | 888e47ddb4215659e76673af4f18aba865ccc4b8 (diff) | |
download | CMake-41e1270413b18272bc73a8b25150aad4c7913563.zip CMake-41e1270413b18272bc73a8b25150aad4c7913563.tar.gz CMake-41e1270413b18272bc73a8b25150aad4c7913563.tar.bz2 |
support for debug and opt libraries
Diffstat (limited to 'Source/cmDSWWriter.cxx')
-rw-r--r-- | Source/cmDSWWriter.cxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx index 97eb9c3..8d00d9f 100644 --- a/Source/cmDSWWriter.cxx +++ b/Source/cmDSWWriter.cxx @@ -126,23 +126,24 @@ void cmDSWMakefile::WriteProject(std::ostream& fout, fout << "{{{\n"; // insert Begin Project Dependency Project_Dep_Name project stuff here - std::vector<std::string>::iterator i, end; - i = project->GetMakefile()->GetLinkLibraries().begin(); - end = project->GetMakefile()->GetLinkLibraries().end(); - for(;i!= end; ++i) + cmMakefile::LinkLibraries::const_iterator j, jend; + j = project->GetMakefile()->GetLinkLibraries().begin(); + jend = project->GetMakefile()->GetLinkLibraries().end(); + for(;j!= jend; ++j) { - if(*i != dspname) + if(j->first != dspname) { if (!l.IsALibrary() || project->GetLibraryBuildType() == cmDSPMakefile::DLL) { fout << "Begin Project Dependency\n"; - fout << "Project_Dep_Name " << *i << "\n"; + fout << "Project_Dep_Name " << j->first << "\n"; fout << "End Project Dependency\n"; } } } - + + std::vector<std::string>::iterator i, end; // write utility dependencies. i = project->GetMakefile()->GetUtilities().begin(); end = project->GetMakefile()->GetUtilities().end(); |