Struct definig a compiler configuration.
This class defines a compiler configuration that is used by the gsJITCompiler class to perform just-in-time compilation.
|
virtual const std::string & | getCmd () const |
| Return compiler command.
|
|
virtual const std::string & | getFlags () const |
| Return compiler flags.
|
|
virtual const std::string & | getLang () const |
| Return compiler language.
|
|
virtual const std::string & | getOut () const |
| Return compiler output flag.
|
|
virtual const std::string & | getTemp () const |
| Return compiler temporal directory.
|
|
| gsJITCompilerConfig () |
| Constructor (default)
|
|
| gsJITCompilerConfig (const std::string &cmd, const std::string &flags, const std::string &lang, const std::string &out, const std::string &temp=detectTemp()) |
| Constructor (passing arguments as strings)
|
|
void | load (const std::string filename, const int _lang=gsJITLang::CXX) |
| Reads compiler configuration from XML file by language.
|
|
void | load_id (const std::string filename, const int id) |
| Reads compiler configuration from XML file by ID.
|
|
gsJITCompilerConfig & | operator= (gsJITCompilerConfig other) |
| Assignment operator.
|
|
std::ostream & | print (std::ostream &os) const |
| Prints the object as a string.
|
|
void | setCmd (const std::string &_cmd) |
| Set compiler command.
|
|
void | setFlags (const std::string &_flags) |
| Set compiler flags.
|
|
void | setLang (const std::string &_lang) |
| Set compiler language.
|
|
void | setOut (const std::string &_out) |
| Set compiler output flag.
|
|
void | setTemp (const std::string &_temp) |
| Set compiler temporal directory.
|
|