summaryrefslogtreecommitdiffstats
path: root/Source/cmDSWWriter.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-04 19:50:26 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-04 19:50:26 (GMT)
commit089aa3e10628aff58992a62b12fa1f1ce6e643b8 (patch)
tree895ff9462602cff9e0dce5d999301644fe6f9e1c /Source/cmDSWWriter.cxx
parent2383d6ff6d55d608688a3b21fc2710e72d375392 (diff)
downloadCMake-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.cxx4
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));