| 1896 | } |
| 1897 | |
| 1898 | cm::optional<FastbuildTarget> |
| 1899 | cmGlobalFastbuildGenerator::GetTargetByOutputName( |
| 1900 | std::string const& output) const |
| 1901 | { |
| 1902 | for (auto const& targetBase : FastbuildTargets) { |
| 1903 | if (targetBase->Type == FastbuildTargetType::LINK) { |
| 1904 | auto const& target = static_cast<FastbuildTarget const&>(*targetBase); |
| 1905 | if (std::any_of(target.LinkerNode.begin(), target.LinkerNode.end(), |
| 1906 | [&output](FastbuildLinkerNode const& target_) { |
| 1907 | return target_.LinkerOutput == output; |
| 1908 | })) { |
| 1909 | return target; |
| 1910 | } |
| 1911 | } |
| 1912 | } |
| 1913 | return cm::nullopt; |
| 1914 | } |
| 1915 | |
| 1916 | void cmGlobalFastbuildGenerator::AddIDEProject( |
| 1917 | FastbuildTargetBase const& target, std::string const& config) |
no test coverage detected