| 105 | } |
| 106 | |
| 107 | std::vector<std::string> EvaluateDepends(std::vector<std::string> const& paths, |
| 108 | cmGeneratorExpression const& ge, |
| 109 | cmLocalGenerator* lg, |
| 110 | std::string const& outputConfig, |
| 111 | std::string const& commandConfig) |
| 112 | { |
| 113 | std::vector<std::string> depends; |
| 114 | for (std::string const& p : paths) { |
| 115 | std::string const& ep = |
| 116 | EvaluateSplitConfigGenex(p, ge, lg, /*useOutputConfig=*/true, |
| 117 | /*outputConfig=*/outputConfig, |
| 118 | /*commandConfig=*/commandConfig, |
| 119 | /*target=*/nullptr); |
| 120 | cm::append(depends, cmList{ ep }); |
| 121 | } |
| 122 | for (std::string& p : depends) { |
| 123 | if (cmSystemTools::FileIsFullPath(p)) { |
| 124 | p = cmSystemTools::CollapseFullPath(p); |
| 125 | } else { |
| 126 | cmSystemTools::ConvertToUnixSlashes(p); |
| 127 | } |
| 128 | } |
| 129 | return depends; |
| 130 | } |
| 131 | |
| 132 | std::vector<std::string> EvaluateOutputs(std::vector<std::string> const& paths, |
| 133 | cmGeneratorExpression const& ge, |
no test coverage detected
searching dependent graphs…