Go to the documentation of this file.
33 #ifndef COMPILED_SIM_COMPILER_HH
34 #define COMPILED_SIM_COMPILER_HH
47 const std::string& dirName,
48 const std::string& flags =
"",
49 bool verbose =
false)
const;
52 const std::string& path,
53 const std::string& flags =
"",
54 const std::string& outputExtension =
".o",
55 bool verbose =
false)
const;
58 const std::string& path,
59 const std::string& flags =
"",
60 bool verbose =
false)
const;
int compileDirectory(const std::string &dirName, const std::string &flags="", bool verbose=false) const
static const char * COMPILED_SIM_SO_FLAGS
flags used when compiling .so files
static const char * COMPILED_SIM_CPP_FLAGS
cpp flags used for compiled simulation
virtual ~CompiledSimCompiler()
int threadCount_
Number of threads to use while compiling through a Makefile.
std::string compiler_
The compiler to use.
int compileFile(const std::string &path, const std::string &flags="", const std::string &outputExtension=".o", bool verbose=false) const
int compileToSO(const std::string &path, const std::string &flags="", bool verbose=false) const
std::string globalCompileFlags_
Global compile flags (from env variable)
CompiledSimCompiler & operator=(const CompiledSimCompiler &)
Assignment not allowed.