diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-02-27 21:50:51 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-02-27 21:50:51 (GMT) |
commit | e5e2a57bfbf1aac2c265e894db82d2b2d5673084 (patch) | |
tree | d2d9207ae98ac12903fdf02151effab56c1ea068 /Source/cmDSWMakefile.cxx | |
parent | d13d283f1499e44a51a203696e27b3324cbb5e00 (diff) | |
download | CMake-e5e2a57bfbf1aac2c265e894db82d2b2d5673084.zip CMake-e5e2a57bfbf1aac2c265e894db82d2b2d5673084.tar.gz CMake-e5e2a57bfbf1aac2c265e894db82d2b2d5673084.tar.bz2 |
many enhancements including dll support
Diffstat (limited to 'Source/cmDSWMakefile.cxx')
-rw-r--r-- | Source/cmDSWMakefile.cxx | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/Source/cmDSWMakefile.cxx b/Source/cmDSWMakefile.cxx index 991bac1..19fe27f 100644 --- a/Source/cmDSWMakefile.cxx +++ b/Source/cmDSWMakefile.cxx @@ -121,20 +121,18 @@ void cmDSWMakefile::WriteProject(std::ostream& fout, fout << "Package=<5>\n{{{\n}}}\n\n"; fout << "Package=<4>\n"; fout << "{{{\n"; - if(project->GetMakefile()->HasExecutables()) + + // 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) { - // 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) + if (strcmp(i->c_str(),dspname)) { - if (strcmp(i->c_str(),dspname)) - { - fout << "Begin Project Dependency\n"; - fout << "Project_Dep_Name " << *i << "\n"; - fout << "End Project Dependency\n"; - } + fout << "Begin Project Dependency\n"; + fout << "Project_Dep_Name " << *i << "\n"; + fout << "End Project Dependency\n"; } } fout << "}}}\n\n"; |