cmGeneratorTarget: Add LookupLinkItem option to consider own target name

This commit is contained in:
Brad King
2022-01-12 16:45:11 -05:00
parent f3d2eab36a
commit 22d5427aa6
2 changed files with 14 additions and 7 deletions
+7 -1
View File
@@ -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;