| 42 | } |
| 43 | |
| 44 | static void AddLinkDir(cmMakefile& mf, std::string const& dir, |
| 45 | std::vector<std::string>& directories) |
| 46 | { |
| 47 | std::string unixPath = dir; |
| 48 | cmSystemTools::ConvertToUnixSlashes(unixPath); |
| 49 | if (!cmSystemTools::FileIsFullPath(unixPath) && |
| 50 | !cmGeneratorExpression::StartsWithGeneratorExpression(unixPath)) { |
| 51 | unixPath = cmStrCat(mf.GetCurrentSourceDirectory(), '/', unixPath); |
| 52 | } |
| 53 | directories.push_back(unixPath); |
| 54 | } |
no test coverage detected
searching dependent graphs…