| 2344 | } |
| 2345 | |
| 2346 | cmValue cmTargetInternals::GetFileSetPaths(cmTarget const* self, |
| 2347 | std::string const& fileSetName, |
| 2348 | cm::string_view fileSetType) const |
| 2349 | { |
| 2350 | auto const* fileSet = self->GetFileSet(fileSetName); |
| 2351 | if (!fileSet) { |
| 2352 | return nullptr; |
| 2353 | } |
| 2354 | if (fileSet->GetType() != fileSetType) { |
| 2355 | this->Makefile->IssueMessage(MessageType::FATAL_ERROR, |
| 2356 | cmStrCat("File set \"", fileSetName, |
| 2357 | "\" is not of type \"", fileSetType, |
| 2358 | "\".")); |
| 2359 | return nullptr; |
| 2360 | } |
| 2361 | static std::string output; |
| 2362 | output = cmList::to_string(fileSet->GetFileEntries()); |
| 2363 | return cmValue(output); |
| 2364 | } |
| 2365 | |
| 2366 | void cmTarget::AppendBuildInterfaceIncludes() |
| 2367 | { |
no test coverage detected