| 3260 | } |
| 3261 | |
| 3262 | std::vector<std::string> cmake::GetAllExtensions() const |
| 3263 | { |
| 3264 | std::vector<std::string> allExt = this->CLikeSourceFileExtensions.ordered; |
| 3265 | allExt.insert(allExt.end(), this->HeaderFileExtensions.ordered.begin(), |
| 3266 | this->HeaderFileExtensions.ordered.end()); |
| 3267 | // cuda extensions are also in SourceFileExtensions so we ignore it here |
| 3268 | allExt.insert(allExt.end(), this->FortranFileExtensions.ordered.begin(), |
| 3269 | this->FortranFileExtensions.ordered.end()); |
| 3270 | allExt.insert(allExt.end(), this->HipFileExtensions.ordered.begin(), |
| 3271 | this->HipFileExtensions.ordered.end()); |
| 3272 | allExt.insert(allExt.end(), this->ISPCFileExtensions.ordered.begin(), |
| 3273 | this->ISPCFileExtensions.ordered.end()); |
| 3274 | return allExt; |
| 3275 | } |
| 3276 | |
| 3277 | std::string cmake::StripExtension(std::string const& file) const |
| 3278 | { |
no test coverage detected