diff options
author | Justin Goshi <jgoshi@microsoft.com> | 2019-09-11 18:04:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-18 18:00:37 (GMT) |
commit | 7da17ef7973294a5207f879c0c5a3ed7ab727029 (patch) | |
tree | 445f8489269953b90c80f5930bf10a126932abcf /Source/cmLinkLineDeviceComputer.h | |
parent | d4d0dd0f6a0f2287fd0fbdfad8c7210515af5eaa (diff) | |
download | CMake-7da17ef7973294a5207f879c0c5a3ed7ab727029.zip CMake-7da17ef7973294a5207f879c0c5a3ed7ab727029.tar.gz CMake-7da17ef7973294a5207f879c0c5a3ed7ab727029.tar.bz2 |
cmLinkLineComputer: Add ComputeLinkLibraries overload with backtraces
Diffstat (limited to 'Source/cmLinkLineDeviceComputer.h')
-rw-r--r-- | Source/cmLinkLineDeviceComputer.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmLinkLineDeviceComputer.h b/Source/cmLinkLineDeviceComputer.h index 0ea5f69..a9b01cd 100644 --- a/Source/cmLinkLineDeviceComputer.h +++ b/Source/cmLinkLineDeviceComputer.h @@ -7,6 +7,7 @@ #include "cmConfigure.h" // IWYU pragma: keep #include <string> +#include <vector> #include "cmLinkLineComputer.h" @@ -15,6 +16,8 @@ class cmGeneratorTarget; class cmLocalGenerator; class cmOutputConverter; class cmStateDirectory; +template <typename T> +class BT; class cmLinkLineDeviceComputer : public cmLinkLineComputer { @@ -29,8 +32,9 @@ public: bool ComputeRequiresDeviceLinking(cmComputeLinkInformation& cli); - std::string ComputeLinkLibraries(cmComputeLinkInformation& cli, - std::string const& stdLibString) override; + void ComputeLinkLibraries( + cmComputeLinkInformation& cli, std::string const& stdLibString, + std::vector<BT<std::string>>& linkLibraries) override; std::string GetLinkerLanguage(cmGeneratorTarget* target, std::string const& config) override; |