diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-05-04 19:50:26 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-05-04 19:50:26 (GMT) |
commit | 089aa3e10628aff58992a62b12fa1f1ce6e643b8 (patch) | |
tree | 895ff9462602cff9e0dce5d999301644fe6f9e1c /Source/cmDSWWriter.cxx | |
parent | 2383d6ff6d55d608688a3b21fc2710e72d375392 (diff) | |
download | CMake-089aa3e10628aff58992a62b12fa1f1ce6e643b8.zip CMake-089aa3e10628aff58992a62b12fa1f1ce6e643b8.tar.gz CMake-089aa3e10628aff58992a62b12fa1f1ce6e643b8.tar.bz2 |
option to make utilities in the all target
Diffstat (limited to 'Source/cmDSWWriter.cxx')
-rw-r--r-- | Source/cmDSWWriter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx index 723784a..f377780 100644 --- a/Source/cmDSWWriter.cxx +++ b/Source/cmDSWWriter.cxx @@ -95,7 +95,7 @@ void cmDSWMakefile::WriteDSWFile(std::ostream& fout) allListFiles.push_back(m_Makefile); // add a special target that depends on ALL projects for easy build // of Debug only - m_Makefile->AddUtilityCommand("ALL_BUILD", "echo \"Build all projects\""); + m_Makefile->AddUtilityCommand("ALL_BUILD", "echo \"Build all projects\"", false); m_Makefile->FindSubDirectoryCMakeListsFiles(allListFiles); // For each cmMakefile, create a DSP for it, and @@ -144,7 +144,7 @@ void cmDSWMakefile::WriteDSWFile(std::ostream& fout) for(cmTargets::const_iterator al = atgts.begin(); al != atgts.end(); ++al) { - if(al->second.GetType() != cmTarget::UTILITY) + if(al->second.IsInAll()) { l->second.GetLinkLibraries().push_back( cmTarget::LinkLibraries::value_type(al->first, cmTarget::GENERAL)); |