summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 7de8215..4d321b5 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -479,6 +479,11 @@ public:
TargetDependSet const& GetTargetDirectDepends(
const cmGeneratorTarget* target);
+ // Return true if target 'l' occurs before 'r' in a global ordering
+ // of targets that respects inter-target dependencies.
+ bool TargetOrderIndexLess(cmGeneratorTarget const* l,
+ cmGeneratorTarget const* r) const;
+
const std::map<std::string, std::vector<cmLocalGenerator*>>& GetProjectMap()
const
{