Compiler Models¶
A custom compiler model class must...
- ... subclass cscm.CompilerModel or one of the provided CompilerModel subclasses as listed in the table below.
- ... have a class name that is unique among compiler model class names.
- ... implement the following cscm.CompilerModel methods.
- ... be registered by invoking cscm.register_compiler_model().
Compiler Model Classes Provided in cscm¶
cscm.CompilerModel
|
Represents a compiler. |
cscm.C_CompilerModel
|
A subclass of CompilerModel that provides
implementations of get_prepend_flags() and
get_append_flags() with some
default arguments used in all C and C++ compiler
models. |
cscm.Java_CompilerModel
|
A subclass of CompilerModel that provides
implementations of
get_prepend_flags() and
get_append_flags() with some
default arguments used in all Java compiler
models. |
cscm.X86_CompilerModel
|
A subclass of CompilerModel that provides
implementations of
get_prepend_flags() and
get_append_flags() with some
default arguments used in all x86 compiler
models. |
cscm.CSharp_CompilerModel
|
A subclass of CompilerModel that provides
implementations of
get_prepend_flags() and
get_append_flags() with some
default arguments used in all C# compiler
models. |