| 1801 | } |
| 1802 | |
| 1803 | void cmake::SetTraceFile(std::string const& file) |
| 1804 | { |
| 1805 | this->TraceFile.close(); |
| 1806 | this->TraceFile.open(file.c_str()); |
| 1807 | if (!this->TraceFile) { |
| 1808 | cmSystemTools::Error(cmStrCat("Error opening trace file ", file, ": ", |
| 1809 | cmSystemTools::GetLastSystemError())); |
| 1810 | return; |
| 1811 | } |
| 1812 | std::cout << "Trace will be written to " << file << '\n'; |
| 1813 | } |
| 1814 | |
| 1815 | void cmake::PrintTraceFormatVersion() |
| 1816 | { |