| 210 | } |
| 211 | |
| 212 | std::string cmGeneratorExpressionEvaluationFile::GetOutputFileName( |
| 213 | cm::GenEx::Context const& context, cmGeneratorTarget* target) |
| 214 | { |
| 215 | std::string outputFileName = |
| 216 | this->OutputFileExpr->Evaluate(context, nullptr, target); |
| 217 | |
| 218 | if (cmSystemTools::FileIsFullPath(outputFileName)) { |
| 219 | outputFileName = cmSystemTools::CollapseFullPath(outputFileName); |
| 220 | } else { |
| 221 | outputFileName = |
| 222 | this->FixRelativePath(outputFileName, PathForOutput, context.LG); |
| 223 | } |
| 224 | |
| 225 | return outputFileName; |
| 226 | } |
| 227 | |
| 228 | std::string cmGeneratorExpressionEvaluationFile::FixRelativePath( |
| 229 | std::string const& relativePath, PathRole role, cmLocalGenerator const* lg) |
no test coverage detected