@brief setter for .aux file, convert to input directory and .aux file @param str is full path
| 40 | /// @brief setter for .aux file, convert to input directory and .aux file |
| 41 | /// @param str is full path |
| 42 | void setAuxFile(std::string const &str) { |
| 43 | auto pos = str.find_last_of('/'); |
| 44 | if (pos == std::string::npos) { |
| 45 | input_dir_ = "./"; |
| 46 | aux_file_ = str; |
| 47 | } else { |
| 48 | input_dir_ = str.substr(0, pos + 1); |
| 49 | aux_file_ = str.substr(pos + 1); |
| 50 | } |
| 51 | } |
| 52 | /// @brief getter for .lib file |
| 53 | std::string const &libFile() const { return lib_file_; } |
| 54 | /// @brief getter for .scl file |