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

Method AddTracedSources

Source/cmTarget.cxx:1347–1354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1345}
1346
1347void cmTarget::AddTracedSources(std::vector<std::string> const& srcs)
1348{
1349 if (!srcs.empty()) {
1350 this->impl->Sources.WriteDirect(this->impl.get(), {},
1351 cmValue(cmJoin(srcs, ";")),
1352 UsageRequirementProperty::Action::Append);
1353 }
1354}
1355
1356void cmTarget::AddSources(std::vector<std::string> const& srcs)
1357{

Callers 2

AddSourcesMethod · 0.95
TraceMethod · 0.45

Calls 5

WriteDirectMethod · 0.80
cmValueClass · 0.70
cmJoinFunction · 0.70
emptyMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected