summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-23 20:03:42 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-23 20:03:42 (GMT)
commit430296dc962bad3ada1e9174f529a53ca676c7df (patch)
tree2a1f617739038882e0bd01ced9f9dc681a60a1f5 /Source/cmGlobalUnixMakefileGenerator3.h
parent8769444beb9686c8214589d447381ce8686284e9 (diff)
downloadCMake-430296dc962bad3ada1e9174f529a53ca676c7df.zip
CMake-430296dc962bad3ada1e9174f529a53ca676c7df.tar.gz
CMake-430296dc962bad3ada1e9174f529a53ca676c7df.tar.bz2
ENH: Moved global inter-target dependency analysis and cycle-prevention code up from cmGlobalUnixMakefileGenerator3 to cmGlobalGenerator. Simplified cmGlobalUnixMakefileGenerator3 to use it. Later other generators may be modified to use it also.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h
index 8ee023c..49c4689 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.h
+++ b/Source/cmGlobalUnixMakefileGenerator3.h
@@ -114,7 +114,7 @@ public:
const char* config, bool ignoreErrors, bool fast);
// returns some progress informaiton
- int GetTargetTotalNumberOfActions(cmTarget& target,
+ int GetTargetTotalNumberOfActions(cmTarget const& target,
std::set<cmStdString> &emitted);
unsigned long GetNumberOfProgressActionsInAll
(cmLocalUnixMakefileGenerator3 *lg);
@@ -145,9 +145,6 @@ protected:
void AppendGlobalTargetDepends(std::vector<std::string>& depends,
cmTarget& target);
- void AppendAnyGlobalDepend(std::vector<std::string>& depends,
- const char* name,
- cmTarget &target);
// does this generator need a requires step for any of its targets
bool NeedRequiresStep(cmTarget const&);
@@ -179,14 +176,6 @@ 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