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

Function AddLinkFeature

Source/cmPackageInfoReader.cxx:343–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343void AddLinkFeature(cmMakefile* makefile, cmTarget* target,
344 cm::string_view configuration, std::string const& value)
345{
346 if (cmStrCaseEq(value, "thread"_s)) {
347 AppendProperty(makefile, target, "LINK_LIBRARIES"_s, configuration,
348 "Threads::Threads");
349 }
350}
351
352std::string BuildDefinition(std::string const& name, Json::Value const& value)
353{

Callers 1

SetTargetPropertiesMethod · 0.85

Calls 2

cmStrCaseEqFunction · 0.85
AppendPropertyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…