diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-07 18:52:29 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-07 18:52:29 (GMT) |
commit | 4f77d737c9d2ee681e17f5a672e18e85164550f1 (patch) | |
tree | 3fdcdaeac75422a958ff4e288adeafaf15de0ecf /Source/cmDSWWriter.cxx | |
parent | 5b4a11af80d27649ef191f918e92c3e41779e987 (diff) | |
download | CMake-4f77d737c9d2ee681e17f5a672e18e85164550f1.zip CMake-4f77d737c9d2ee681e17f5a672e18e85164550f1.tar.gz CMake-4f77d737c9d2ee681e17f5a672e18e85164550f1.tar.bz2 |
ENH: move utilities to targets from makefile, and add versioning to cache
Diffstat (limited to 'Source/cmDSWWriter.cxx')
-rw-r--r-- | Source/cmDSWWriter.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx index 242af11..ad47a9f 100644 --- a/Source/cmDSWWriter.cxx +++ b/Source/cmDSWWriter.cxx @@ -189,7 +189,7 @@ void cmDSWWriter::WriteProject(std::ostream& fout, const char* dspname, const char* dir, cmDSPWriter* project, - const cmTarget &l + const cmTarget& target ) { fout << "#########################################################" @@ -202,13 +202,13 @@ void cmDSWWriter::WriteProject(std::ostream& fout, // insert Begin Project Dependency Project_Dep_Name project stuff here cmTarget::LinkLibraries::const_iterator j, jend; - j = l.GetLinkLibraries().begin(); - jend = l.GetLinkLibraries().end(); + j = target.GetLinkLibraries().begin(); + jend = target.GetLinkLibraries().end(); for(;j!= jend; ++j) { if(j->first != dspname) { - if (!(l.GetType() == cmTarget::LIBRARY) || + if (!(target.GetType() == cmTarget::LIBRARY) || project->GetLibraryBuildType() == cmDSPWriter::DLL) { // is the library part of this DSW ? If so add dependency @@ -224,10 +224,10 @@ void cmDSWWriter::WriteProject(std::ostream& fout, } } - std::vector<std::string>::iterator i, end; + std::set<std::string>::const_iterator i, end; // write utility dependencies. - i = project->GetMakefile()->GetUtilities().begin(); - end = project->GetMakefile()->GetUtilities().end(); + i = target.GetUtilities().begin(); + end = target.GetUtilities().end(); for(;i!= end; ++i) { if(*i != dspname) |