cmComputeTargetDepends: Factor out helper to add object library dependency

This commit is contained in:
Brad King
2021-05-28 14:58:11 -04:00
parent 7f506b95a7
commit 83ad066ed1
2 changed files with 32 additions and 20 deletions
+3
View File
@@ -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;