summaryrefslogtreecommitdiff
path: root/Source/cmComputeTargetDepends.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-28 14:58:11 -0400
committerBrad King <brad.king@kitware.com>2021-05-28 15:25:28 -0400
commit83ad066ed10ccabc4331c4b620ad6a4fa0cd36ba (patch)
tree4ebae82ceea27a06304ff1991d221af8a1c85425 /Source/cmComputeTargetDepends.h
parent7f506b95a78a3238d3481539810441ca955a0901 (diff)
downloadcmake-83ad066ed10ccabc4331c4b620ad6a4fa0cd36ba.tar.gz
cmComputeTargetDepends: Factor out helper to add object library dependency
Diffstat (limited to 'Source/cmComputeTargetDepends.h')
-rw-r--r--Source/cmComputeTargetDepends.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmComputeTargetDepends.h b/Source/cmComputeTargetDepends.h
index 3517844d6b..0eab3683d9 100644
--- a/Source/cmComputeTargetDepends.h
+++ b/Source/cmComputeTargetDepends.h
@@ -16,6 +16,7 @@ class cmComputeComponentGraph;
class cmGeneratorTarget;
class cmGlobalGenerator;
class cmLinkItem;
+class cmSourceFile;
class cmTargetDependSet;
/** \class cmComputeTargetDepends
@@ -71,6 +72,8 @@ private:
cmListFileBacktrace const& dependee_backtrace,
const std::string& config,
std::set<cmLinkItem>& emitted);
+ void AddObjectDepends(int depender_index, cmSourceFile const* o,
+ std::set<cmLinkItem>& emitted);
cmGlobalGenerator* GlobalGenerator;
bool DebugMode;
bool NoCycles;