summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-06 04:10:41 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-06 04:10:41 (GMT)
commit523ddedac59756e485818a88c59949355c1b9267 (patch)
treee4d2a1c74ef039f76913981c9073f185e9c2b9fb /Source/cmGlobalGenerator.h
parent5b9fccdc0e5e5e3b723f0375f95983b7950be933 (diff)
downloadCMake-523ddedac59756e485818a88c59949355c1b9267.zip
CMake-523ddedac59756e485818a88c59949355c1b9267.tar.gz
CMake-523ddedac59756e485818a88c59949355c1b9267.tar.bz2
ENH: Analyze inter-target dependencies to safely fix cycles
- Cycles may be formed among static libraries - Native build system should not have cycles in target deps - Create cmComputeTargetDepends to analyze dependencies - Identify conneced components and use them to fix deps - Diagnose cycles containing non-STATIC targets - Add debug mode property GLOBAL_DEPENDS_DEBUG_MODE - Use results in cmGlobalGenerator as target direct depends
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index bd5a8ee..9c13a4e 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -313,12 +313,7 @@ private:
// track files replaced during a Generate
std::vector<std::string> FilesReplacedDuringGenerate;
- // Track inter-target dependencies.
- bool ConsiderTargetDepends(cmTarget * depender,
- TargetDependSet& depender_depends,
- const char* dependee_name);
- bool FindDependency(cmTarget * goal, cmTarget * current,
- std::vector<cmTarget *>& steps);
+ // Store computed inter-target dependencies.
typedef std::map<cmTarget *, TargetDependSet> TargetDependMap;
TargetDependMap TargetDependencies;