summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-17 14:44:09 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-18 12:07:46 (GMT)
commita093b1a4f3c8c40c55c50ad8e701ceb599961140 (patch)
tree4cd25b87073e83558763b122d2816627e5b55e15 /Source/cmGeneratorTarget.h
parente022e2d8734ffbc0378b75d85b32a2524302dd50 (diff)
downloadCMake-a093b1a4f3c8c40c55c50ad8e701ceb599961140.zip
CMake-a093b1a4f3c8c40c55c50ad8e701ceb599961140.tar.gz
CMake-a093b1a4f3c8c40c55c50ad8e701ceb599961140.tar.bz2
cmLinkItem: Add backtrace
Carry a backtrace on every link item, not just link implementation items. For now the non-impl items will still have empty backtraces at runtime, but this will allow us to introduce values over time.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 98669c3..07274ce 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -362,7 +362,8 @@ public:
};
TargetOrString ResolveTargetReference(std::string const& name) const;
- cmLinkItem ResolveLinkItem(std::string const& name) const;
+ cmLinkItem ResolveLinkItem(std::string const& name,
+ cmListFileBacktrace const& bt) const;
// Compute the set of languages compiled by the target. This is
// computed every time it is called because the languages can change
@@ -838,6 +839,7 @@ private:
std::vector<cmLinkItem>& items,
bool& hadHeadSensitiveCondition) const;
void LookupLinkItems(std::vector<std::string> const& names,
+ cmListFileBacktrace const& bt,
std::vector<cmLinkItem>& items) const;
void GetSourceFiles(std::vector<std::string>& files,