summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-11-27 13:36:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-11-27 13:36:45 (GMT)
commitc2bd158712b1ee3465296ee6be369f49747d709d (patch)
treeeb694c8b3d5669ead72001ea09c8e30c53c1e717 /Source/cmGeneratorTarget.h
parent89cfb90b9c0893133983b4f25896671c4f07497c (diff)
parentbeb1393f8f29302197b80741bec41a13b7f207c7 (diff)
downloadCMake-c2bd158712b1ee3465296ee6be369f49747d709d.zip
CMake-c2bd158712b1ee3465296ee6be369f49747d709d.tar.gz
CMake-c2bd158712b1ee3465296ee6be369f49747d709d.tar.bz2
Merge topic 'fortran-objects-as-sources-fix'
beb1393f8f Merge branch 'revert-exact-collation-depends-3.27' into fortran-objects-as-sources-fix a033dce326 Makefiles: provide, but do not consume, "forward linked" target dirs 7cd0adab1b cmCommonTargetGenerator: use modules from linked object-referenced targets 1175f1c874 LinkItem: track `cmSourceFile` instances for external objects d2fa56772f Ninja: support "forwarding" modules from other targets ec1e589bec Ninja: Revert exact collation dependencies for 3.27 06df59b930 cmCommonTargetGenerator: return forward linked target dirs too f8729ab366 cmLocalUnixMakefileGenerator3: handle object-referencing Fortran modules ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8989
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;