summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-12 21:45:11 (GMT)
committerBrad King <brad.king@kitware.com>2022-01-29 11:48:12 (GMT)
commit22d5427aa60973b387ade94dc8e65fca8d4de413 (patch)
tree727101cf88ef922e76f37ebff406600502034f86 /Source/cmGeneratorTarget.h
parentf3d2eab36a0b3bf259dfe847b42bfe0b46447107 (diff)
downloadCMake-22d5427aa60973b387ade94dc8e65fca8d4de413.zip
CMake-22d5427aa60973b387ade94dc8e65fca8d4de413.tar.gz
CMake-22d5427aa60973b387ade94dc8e65fca8d4de413.tar.bz2
cmGeneratorTarget: Add LookupLinkItem option to consider own target name
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 8134087..f36e2be 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -1073,9 +1073,15 @@ private:
{
cmLocalGenerator const* LG;
};
+ enum class LookupSelf
+ {
+ No,
+ Yes,
+ };
cm::optional<cmLinkItem> LookupLinkItem(std::string const& n,
cmListFileBacktrace const& bt,
- LookupLinkItemScope* scope) const;
+ LookupLinkItemScope* scope,
+ LookupSelf lookupSelf) const;
std::vector<BT<std::string>> GetSourceFilePaths(
std::string const& config) const;