summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-22 18:08:26 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-22 18:08:26 (GMT)
commit2836fc43e79cd5497f2e63ae091ca67f1cb2485d (patch)
tree3a402127b3f839adb22b6d1ceed43809da3df461 /Source/cmGlobalUnixMakefileGenerator3.h
parentbfeeb88b1f32086885ee02974bf54c28b0a4b9ab (diff)
downloadCMake-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.h8
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