diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-05-18 17:46:00 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-05-18 17:46:00 (GMT) |
commit | 78b5cca6e31c2eb3fc684652ecb03b0558a41c8e (patch) | |
tree | 0e8927ec0329f49858e11e9f8f7eafce1ced20be /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | aa73e653aaf282ecf412e0e6092a95adc8ce3641 (diff) | |
download | CMake-78b5cca6e31c2eb3fc684652ecb03b0558a41c8e.zip CMake-78b5cca6e31c2eb3fc684652ecb03b0558a41c8e.tar.gz CMake-78b5cca6e31c2eb3fc684652ecb03b0558a41c8e.tar.bz2 |
ENH: another step to the next generator still not optimized yet
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index d496528..4944d99 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -61,18 +61,21 @@ void cmLocalUnixMakefileGenerator3::Generate() this->ConfigureOutputPaths(); // Generate the rule files for each target. - const cmTargets& targets = m_Makefile->GetTargets(); - for(cmTargets::const_iterator t = targets.begin(); t != targets.end(); ++t) + cmTargets& targets = m_Makefile->GetTargets(); + std::string empty; + for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t) { if((t->second.GetType() == cmTarget::EXECUTABLE) || (t->second.GetType() == cmTarget::STATIC_LIBRARY) || (t->second.GetType() == cmTarget::SHARED_LIBRARY) || (t->second.GetType() == cmTarget::MODULE_LIBRARY)) { + t->second.TraceVSDependencies(empty, m_Makefile); this->WriteTargetRuleFiles(t->second); } else if(t->second.GetType() == cmTarget::UTILITY) { + t->second.TraceVSDependencies(empty, m_Makefile); this->WriteUtilityRuleFiles(t->second); } } @@ -2327,7 +2330,6 @@ cmLocalUnixMakefileGenerator3 if(dir && *dir) { // This is a CMake target somewhere in this project. - // Get the type of the library. If it does not have a type then // it is an executable. std::string typeVar = name; |