| 1207 | } |
| 1208 | |
| 1209 | void cmFastbuildNormalTargetGenerator::AppendExtraResources( |
| 1210 | std::set<std::string>& deps) const |
| 1211 | { |
| 1212 | // Generate Fastbuild's "Copy" commands to copy resources. |
| 1213 | auto const generateCopyCommands = |
| 1214 | [this](std::vector<cmSourceFile const*>& frameworkDeps) { |
| 1215 | this->OSXBundleGenerator->GenerateMacOSXContentStatements( |
| 1216 | frameworkDeps, this->MacOSXContentGenerator.get(), Config); |
| 1217 | }; |
| 1218 | |
| 1219 | std::vector<cmSourceFile const*> headerSources; |
| 1220 | this->GeneratorTarget->GetHeaderSources(headerSources, Config); |
| 1221 | generateCopyCommands(headerSources); |
| 1222 | |
| 1223 | std::vector<cmSourceFile const*> extraSources; |
| 1224 | this->GeneratorTarget->GetExtraSources(extraSources, Config); |
| 1225 | generateCopyCommands(extraSources); |
| 1226 | |
| 1227 | std::vector<cmSourceFile const*> externalObjects; |
| 1228 | this->GeneratorTarget->GetExternalObjects(externalObjects, Config); |
| 1229 | generateCopyCommands(externalObjects); |
| 1230 | |
| 1231 | for (FastbuildCopyNode const& node : this->CopyNodes) { |
| 1232 | LogMessage("Adding resource: " + node.Name); |
| 1233 | deps.emplace(node.Name); |
| 1234 | } |
| 1235 | } |
| 1236 | |
| 1237 | std::string cmFastbuildNormalTargetGenerator::GetCompileOptions( |
| 1238 | cmSourceFile const& srcFile, std::string const& arch) |
nothing calls this directly
no test coverage detected