mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
cmLocalGenerator: Add OutputLinkLibraries overload with backtraces
This commit is contained in:
@@ -1525,6 +1525,19 @@ void cmLocalGenerator::OutputLinkLibraries(
|
||||
cmComputeLinkInformation* pcli, cmLinkLineComputer* linkLineComputer,
|
||||
std::string& linkLibraries, std::string& frameworkPath,
|
||||
std::string& linkPath)
|
||||
{
|
||||
std::vector<BT<std::string>> linkLibrariesList;
|
||||
std::vector<BT<std::string>> linkPathList;
|
||||
this->OutputLinkLibraries(pcli, linkLineComputer, linkLibrariesList,
|
||||
frameworkPath, linkPathList);
|
||||
pcli->AppendValues(linkLibraries, linkLibrariesList);
|
||||
pcli->AppendValues(linkPath, linkPathList);
|
||||
}
|
||||
|
||||
void cmLocalGenerator::OutputLinkLibraries(
|
||||
cmComputeLinkInformation* pcli, cmLinkLineComputer* linkLineComputer,
|
||||
std::vector<BT<std::string>>& linkLibraries, std::string& frameworkPath,
|
||||
std::vector<BT<std::string>>& linkPath)
|
||||
{
|
||||
cmComputeLinkInformation& cli = *pcli;
|
||||
|
||||
@@ -1557,10 +1570,9 @@ void cmLocalGenerator::OutputLinkLibraries(
|
||||
cmStrCat("CMAKE_", linkLanguage, "_FRAMEWORK_SEARCH_FLAG"));
|
||||
|
||||
frameworkPath = linkLineComputer->ComputeFrameworkPath(cli, fwSearchFlag);
|
||||
linkPath =
|
||||
linkLineComputer->ComputeLinkPath(cli, libPathFlag, libPathTerminator);
|
||||
|
||||
linkLibraries = linkLineComputer->ComputeLinkLibraries(cli, stdLibString);
|
||||
linkLineComputer->ComputeLinkPath(cli, libPathFlag, libPathTerminator,
|
||||
linkPath);
|
||||
linkLineComputer->ComputeLinkLibraries(cli, stdLibString, linkLibraries);
|
||||
}
|
||||
|
||||
std::string cmLocalGenerator::GetLinkLibsCMP0065(
|
||||
|
||||
@@ -430,6 +430,11 @@ protected:
|
||||
cmLinkLineComputer* linkLineComputer,
|
||||
std::string& linkLibraries,
|
||||
std::string& frameworkPath, std::string& linkPath);
|
||||
void OutputLinkLibraries(cmComputeLinkInformation* pcli,
|
||||
cmLinkLineComputer* linkLineComputer,
|
||||
std::vector<BT<std::string>>& linkLibraries,
|
||||
std::string& frameworkPath,
|
||||
std::vector<BT<std::string>>& linkPath);
|
||||
|
||||
// Handle old-style install rules stored in the targets.
|
||||
void GenerateTargetInstallRules(
|
||||
|
||||
Reference in New Issue
Block a user