mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmGeneratorTarget: Factor target name resolution out of link item resolution
This commit is contained in:
@@ -357,6 +357,13 @@ public:
|
||||
cmOptionalLinkImplementation& impl,
|
||||
const cmGeneratorTarget* head) const;
|
||||
|
||||
struct TargetOrString
|
||||
{
|
||||
std::string String;
|
||||
cmGeneratorTarget* Target = nullptr;
|
||||
};
|
||||
TargetOrString ResolveTargetReference(std::string const& name) const;
|
||||
|
||||
cmLinkItem ResolveLinkItem(std::string const& name) const;
|
||||
|
||||
// Compute the set of languages compiled by the target. This is
|
||||
|
||||
Reference in New Issue
Block a user