diff options
Diffstat (limited to 'Source/cmDSWMakefile.cxx')
-rw-r--r-- | Source/cmDSWMakefile.cxx | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Source/cmDSWMakefile.cxx b/Source/cmDSWMakefile.cxx index 6534570..a61e2e9 100644 --- a/Source/cmDSWMakefile.cxx +++ b/Source/cmDSWMakefile.cxx @@ -130,7 +130,7 @@ void cmDSWMakefile::WriteProject(std::ostream& fout, { for(;i!= end; ++i) { - if (strcmp(i->c_str(),dspname)) + if(*i != dspname) { fout << "Begin Project Dependency\n"; fout << "Project_Dep_Name " << *i << "\n"; @@ -138,6 +138,19 @@ void cmDSWMakefile::WriteProject(std::ostream& fout, } } } + + // write utility dependencies. + i = project->GetMakefile()->GetUtilities().begin(); + end = project->GetMakefile()->GetUtilities().end(); + for(;i!= end; ++i) + { + if(*i != dspname) + { + fout << "Begin Project Dependency\n"; + fout << "Project_Dep_Name " << *i << "\n"; + fout << "End Project Dependency\n"; + } + } fout << "}}}\n\n"; } |