| 43 | }; |
| 44 | |
| 45 | std::string TargetIncludeDirectoriesImpl::Join( |
| 46 | std::vector<std::string> const& content) |
| 47 | { |
| 48 | std::string dirs; |
| 49 | std::string sep; |
| 50 | std::string prefix = this->Makefile->GetCurrentSourceDirectory() + "/"; |
| 51 | for (std::string const& it : content) { |
| 52 | if (cmSystemTools::FileIsFullPath(it) || |
| 53 | cmGeneratorExpression::Find(it) == 0) { |
| 54 | dirs += cmStrCat(sep, it); |
| 55 | } else { |
| 56 | dirs += cmStrCat(sep, prefix, it); |
| 57 | } |
| 58 | sep = ";"; |
| 59 | } |
| 60 | return dirs; |
| 61 | } |
| 62 | |
| 63 | bool TargetIncludeDirectoriesImpl::HandleDirectContent( |
| 64 | cmTarget* tgt, std::vector<std::string> const& content, bool prepend, |
no test coverage detected