| 2115 | } |
| 2116 | |
| 2117 | bool CanUseCompilerLauncher(std::string const& lang) |
| 2118 | { |
| 2119 | // Also found in `cmCommonTargetGenerator::GetCompilerLauncher`. |
| 2120 | return lang == "C"_s || lang == "CXX"_s || lang == "Fortran"_s || |
| 2121 | lang == "CUDA"_s || lang == "HIP"_s || lang == "ISPC"_s || |
| 2122 | lang == "OBJC"_s || lang == "OBJCXX"_s; |
| 2123 | } |
| 2124 | |
| 2125 | // FIXME: return a vector of `cm::string_view` instead to avoid lots of tiny |
| 2126 | // allocations. |
no outgoing calls
no test coverage detected
searching dependent graphs…