summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-10 14:11:57 (GMT)
committerBrad King <brad.king@kitware.com>2018-09-12 16:46:51 (GMT)
commit18441a626901ec559d3ebaed7fd99f09360c5b39 (patch)
tree0d43aceafbc7efad4c374cbc6559d7abe78d4e5c /Source/cmGeneratorTarget.h
parent2f708f5d65557ecbfe4ebe7c14b02dbba6bf0ffe (diff)
downloadCMake-18441a626901ec559d3ebaed7fd99f09360c5b39.zip
CMake-18441a626901ec559d3ebaed7fd99f09360c5b39.tar.gz
CMake-18441a626901ec559d3ebaed7fd99f09360c5b39.tar.bz2
cmGeneratorTarget: Factor target name resolution out of link item resolution
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index a847e21..9d8c9f5 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -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