| 1701 | } |
| 1702 | |
| 1703 | void cmGlobalFastbuildGenerator::WriteXCodeTopLevelProject() |
| 1704 | { |
| 1705 | std::string const projectName = LocalGenerators[0]->GetProjectName(); |
| 1706 | std::vector<std::string> XCodeProjects; |
| 1707 | for (auto const& IDEProj : IDEProjects) { |
| 1708 | auto const XCodeProj = IDEProj.second.second; |
| 1709 | XCodeProjects.emplace_back(XCodeProj.Alias); |
| 1710 | } |
| 1711 | |
| 1712 | WriteCommand("XCodeProject", Quote("xcode")); |
| 1713 | *this->BuildFileStream << "{\n"; |
| 1714 | |
| 1715 | WriteVariable( |
| 1716 | "ProjectOutput", |
| 1717 | Quote( |
| 1718 | cmJoin({ "XCode", projectName + ".xcodeproj", "project.pbxproj" }, "/")), |
| 1719 | 1); |
| 1720 | WriteVariable("ProjectBasePath", Quote(FASTBUILD_XCODE_BASE_PATH), 1); |
| 1721 | |
| 1722 | auto const& configs = IDEProjects.begin()->second.second.ProjectConfigs; |
| 1723 | WriteIDEProjectConfig(configs); |
| 1724 | WriteArray("ProjectFiles", Wrap(XCodeProjects), 1); |
| 1725 | |
| 1726 | *this->BuildFileStream << "}\n"; |
| 1727 | } |
| 1728 | |
| 1729 | void cmGlobalFastbuildGenerator::LogMessage(std::string const& m) const |
| 1730 | { |
no test coverage detected