summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-23 22:30:12 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-23 22:30:12 (GMT)
commit66ea097554b4abe398d5046a8ad45e935053d7fc (patch)
tree0b728ec678fa7c11882b9ec601c8dfa2ed8d07fc /Source/cmLocalUnixMakefileGenerator3.cxx
parent542b034a66da45b82afd05eacfcafa22ee41f7ac (diff)
downloadCMake-66ea097554b4abe398d5046a8ad45e935053d7fc.zip
CMake-66ea097554b4abe398d5046a8ad45e935053d7fc.tar.gz
CMake-66ea097554b4abe398d5046a8ad45e935053d7fc.tar.bz2
ENH: Properly handle target dependencies
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 13cd316..6ac963a 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1266,10 +1266,12 @@ void cmLocalUnixMakefileGenerator3
{
text = "Running external command ...";
}
- const char* dependsOnAll = glIt->second.GetProperty("DependsOnAll");
- if ( dependsOnAll || cmSystemTools::IsOn(dependsOnAll) )
+ std::set<cmStdString>::iterator dit;
+ for ( dit = glIt->second.GetUtilities().begin();
+ dit != glIt->second.GetUtilities().end();
+ ++ dit )
{
- depends.push_back("all");
+ depends.push_back(dit->c_str());
}
this->AppendEcho(commands, text);