| 1316 | } |
| 1317 | |
| 1318 | void cmLocalVisualStudio7GeneratorInternals::OutputObjects( |
| 1319 | std::ostream& fout, cmGeneratorTarget* gt, std::string const& configName, |
| 1320 | char const* isep) |
| 1321 | { |
| 1322 | // VS < 8 does not support per-config source locations so we |
| 1323 | // list object library content on the link line instead. |
| 1324 | cmLocalVisualStudio7Generator* lg = this->LocalGenerator; |
| 1325 | |
| 1326 | std::vector<cmSourceFile const*> objs; |
| 1327 | gt->GetExternalObjects(objs, configName); |
| 1328 | |
| 1329 | char const* sep = isep ? isep : ""; |
| 1330 | for (cmSourceFile const* obj : objs) { |
| 1331 | if (!obj->GetObjectLibrary().empty()) { |
| 1332 | std::string const& objFile = obj->GetFullPath(); |
| 1333 | std::string rel = lg->MaybeRelativeToCurBinDir(objFile); |
| 1334 | fout << sep << lg->ConvertToXMLOutputPath(rel); |
| 1335 | sep = " "; |
| 1336 | } |
| 1337 | } |
| 1338 | } |
| 1339 | |
| 1340 | void cmLocalVisualStudio7Generator::OutputLibraryDirectories( |
| 1341 | std::ostream& fout, std::vector<std::string> const& stdlink, |
no test coverage detected