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

Method WriteSourceProperty

Source/cmGhsMultiTargetGenerator.cxx:493–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493void cmGhsMultiTargetGenerator::WriteSourceProperty(
494 std::ostream& fout, cmSourceFile const* sf, std::string const& propName,
495 std::string const& propFlag)
496{
497 cmValue prop = sf->GetProperty(propName);
498 if (prop) {
499 cmList list{ *prop };
500 for (std::string const& p : list) {
501 fout << " " << propFlag << p << '\n';
502 }
503 }
504}
505
506void cmGhsMultiTargetGenerator::WriteSources(std::ostream& fout_proj)
507{

Callers 1

WriteSourcesMethod · 0.95

Calls 1

GetPropertyMethod · 0.45

Tested by

no test coverage detected