5 #include "rrCompiler.h"
6 #include "rrStringList.h"
20 CCompiler(
const std::string& supportCodeFolder,
const std::string& compiler);
24 virtual bool setCompiler(
const std::string& compiler);
26 bool setupCompiler(
const std::string& supportCodeFolder);
27 bool compile(
const std::string& cmdLine);
35 bool setIncludePath(
const std::string& path);
36 bool setLibraryPath(
const std::string& path);
39 std::string getCompilerMessages();
40 bool setOutputPath(
const std::string& path);
43 virtual std::string getDefaultTargetTriple();
45 virtual std::string getProcessTriple();
47 virtual std::string getHostCPUName();
52 std::string mDLLFileName;
53 std::string mSupportCodeFolder;
54 std::string mCompilerName;
55 std::string mCompilerLocation;
57 std::vector<std::string> mCompilerOutput;
58 std::vector<std::string> mIncludePaths;
59 std::vector<std::string> mLibraryPaths;
60 std::vector<std::string> mCompilerFlags;
61 std::string createCompilerCommand(
const std::string& sourceFileName);
62 bool setupCompilerEnvironment();
63 std::string mOutputPath;
compiler class for the C based model system.
Definition: rrCCompiler.h:18
interface to manipulate 'compiler' settings.
Definition: rrCompiler.h:26
Definition: rrStringList.h:19
C_DECL_SPEC int rrcCallConv compileSource(RRHandle handle, const char *sourceFileNameAndPath)
Compiles source code.
C_DECL_SPEC bool rrcCallConv setSupportCodeFolder(RRHandle handle, const char *folder)
Set the path to a folder containing support code for model generation.
C_DECL_SPEC char *rrcCallConv getCompilerLocation(RRHandle handle)
Get the path to a folder containing the compiler being used.
C_DECL_SPEC bool rrcCallConv setCompiler(RRHandle handle, const char *fNameWithPath)
Set the path and filename to the compiler to be used by roadrunner.
C_DECL_SPEC bool rrcCallConv setCompilerLocation(RRHandle handle, const char *folder)
Set the path to a folder containing the compiler to be used.
C_DECL_SPEC char *rrcCallConv getSupportCodeFolder(RRHandle handle)
Get the path to a folder containing support code.
C_DECL_SPEC char *rrcCallConv getCompiler(RRHandle handle)
Get the name of the compiler currently being used by roadrunner.
C_DECL_SPEC int rrcCallConv getVersion()