diff options
author | Brad King <brad.king@kitware.com> | 2007-12-22 18:08:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-12-22 18:08:26 (GMT) |
commit | 2836fc43e79cd5497f2e63ae091ca67f1cb2485d (patch) | |
tree | 3a402127b3f839adb22b6d1ceed43809da3df461 /Source/cmGlobalUnixMakefileGenerator3.h | |
parent | bfeeb88b1f32086885ee02974bf54c28b0a4b9ab (diff) | |
download | CMake-2836fc43e79cd5497f2e63ae091ca67f1cb2485d.zip CMake-2836fc43e79cd5497f2e63ae091ca67f1cb2485d.tar.gz CMake-2836fc43e79cd5497f2e63ae091ca67f1cb2485d.tar.bz2 |
BUG: Support cyclic dependencies among STATIC libraries by removing one from the generated Makefile rules.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h index 988d7cc..8ee023c 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.h +++ b/Source/cmGlobalUnixMakefileGenerator3.h @@ -179,6 +179,14 @@ protected: std::map<cmStdString, int > TargetSourceFileCount; bool ForceVerboseMakefiles; + + bool AllowTargetDepends(cmTarget const* depender, + cmTarget const* dependee); + bool FindDependency(cmTarget const* goal, cmTarget const* current, + std::vector<cmTarget const*>& steps); + class TargetDependSet: public std::set<cmTarget const*> {}; + typedef std::map<cmTarget const*, TargetDependSet> TargetDependMap; + TargetDependMap TargetDependencies; }; #endif |