| 51 | } |
| 52 | |
| 53 | bool cmRST::ProcessFile(std::string const& fname, bool isModule) |
| 54 | { |
| 55 | cmsys::ifstream fin(fname.c_str()); |
| 56 | if (fin) { |
| 57 | this->DocDir = cmSystemTools::GetFilenamePath(fname); |
| 58 | if (isModule) { |
| 59 | this->ProcessModule(fin); |
| 60 | } else { |
| 61 | this->ProcessRST(fin); |
| 62 | } |
| 63 | this->OutputLinePending = true; |
| 64 | return true; |
| 65 | } |
| 66 | return false; |
| 67 | } |
| 68 | |
| 69 | void cmRST::ProcessRST(std::istream& is) |
| 70 | { |