summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index a32c5d8..d1dbc62 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -466,6 +466,11 @@ public:
bool IsLanguageUsed(std::string const& language,
std::string const& config) const;
+ // Get the set of targets directly referenced via `TARGET_OBJECTS` in the
+ // source list for a configuration.
+ std::set<cmGeneratorTarget const*> GetSourceObjectLibraries(
+ std::string const& config) const;
+
bool IsCSharpOnly() const;
bool IsDotNetSdkTarget() const;