| 300 | } |
| 301 | |
| 302 | std::string MakeSourceFilePathAbsoluteIfNeeded( |
| 303 | cmExecutionStatus& status, std::string const& source_file_path, |
| 304 | bool const needed) |
| 305 | { |
| 306 | if (!needed) { |
| 307 | return source_file_path; |
| 308 | } |
| 309 | std::string absolute_file_path = cmSystemTools::CollapseFullPath( |
| 310 | source_file_path, status.GetMakefile().GetCurrentSourceDirectory()); |
| 311 | return absolute_file_path; |
| 312 | } |
| 313 | |
| 314 | void MakeSourceFilePathsAbsoluteIfNeeded( |
| 315 | cmExecutionStatus& status, |
no test coverage detected
searching dependent graphs…