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

Method OutputLibraries

Source/cmLocalVisualStudio7Generator.cxx:1300–1316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1298}
1299
1300void cmLocalVisualStudio7GeneratorInternals::OutputLibraries(
1301 std::ostream& fout, ItemVector const& libs)
1302{
1303 cmLocalVisualStudio7Generator* lg = this->LocalGenerator;
1304 for (auto const& lib : libs) {
1305 if (lib.IsPath == cmComputeLinkInformation::ItemIsPath::Yes) {
1306 std::string rel = lg->MaybeRelativeToCurBinDir(lib.Value.Value);
1307 rel = lg->ConvertToXMLOutputPath(rel);
1308 fout << (lib.HasFeature() ? lib.GetFormattedItem(rel).Value : rel)
1309 << " ";
1310 } else if (!lib.Target ||
1311 (lib.Target->GetType() != cmStateEnums::INTERFACE_LIBRARY &&
1312 lib.Target->GetType() != cmStateEnums::OBJECT_LIBRARY)) {
1313 fout << lib.Value.Value << " ";
1314 }
1315 }
1316}
1317
1318void cmLocalVisualStudio7GeneratorInternals::OutputObjects(
1319 std::ostream& fout, cmGeneratorTarget* gt, std::string const& configName,

Callers 1

OutputBuildToolMethod · 0.80

Calls 5

HasFeatureMethod · 0.80
GetFormattedItemMethod · 0.80
GetTypeMethod · 0.45

Tested by

no test coverage detected