MCPcopy Create free account
hub / github.com/Kitware/CMake / GetTargetFlags

Method GetTargetFlags

Source/cmLocalGenerator.cxx:1478–1491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1476}
1477
1478void cmLocalGenerator::GetTargetFlags(
1479 cmLinkLineComputer* linkLineComputer, std::string const& config,
1480 std::string& linkLibs, std::string& flags, std::string& linkFlags,
1481 std::string& frameworkPath, std::string& linkPath, cmGeneratorTarget* target)
1482{
1483 std::vector<BT<std::string>> linkFlagsList;
1484 std::vector<BT<std::string>> linkPathList;
1485 std::vector<BT<std::string>> linkLibsList;
1486 this->GetTargetFlags(linkLineComputer, config, linkLibsList, flags,
1487 linkFlagsList, frameworkPath, linkPathList, target);
1488 this->AppendFlags(linkFlags, linkFlagsList);
1489 this->AppendFlags(linkPath, linkPathList);
1490 this->AppendFlags(linkLibs, linkLibsList);
1491}
1492
1493void cmLocalGenerator::GetTargetFlags(
1494 cmLinkLineComputer* linkLineComputer, std::string const& config,

Callers 6

WriteTargetLinkLineMethod · 0.80
WriteLinkStatementMethod · 0.80
FindPackageMethod · 0.80

Calls 15

AppendFlagsMethod · 0.95
GetStaticLibraryFlagsMethod · 0.95
IsSplitSwiftBuildMethod · 0.95
GetGlobalGeneratorMethod · 0.95
AppendCompileOptionsMethod · 0.95
OutputLinkLibrariesMethod · 0.95
GetExeExportFlagsMethod · 0.95

Tested by

no test coverage detected