
Classes | |
| class | PlatformDirOperation |
| interface | StringOperation |
Public Member Functions | |
| GccCompilerDelegator () | |
| void | compileCCode (String fileName, String target, File workDir, Set< String > ext_libs, Set< String > ext_lib_dirs, Set< String > ext_incl_dirs) |
| Compile DLL(s) from generated C code. | |
Protected Member Functions | |
| String[] | getTargetPlatforms () |
| Get the target platforms to compile for. | |
| File | getMakefile (String jmodelicaHome, String platform) |
| Get the path to the Makefile for the specified target platform. | |
| String | getMake (String platform) |
| Get the make command to use for the specified build platform. | |
| void | addFixedMakeVars (Map< String, String > vars, String fileName, String jmodelicaHome, Set< String > ext_libs, Set< String > ext_incl_dirs) |
| Add make variables to set that is valid for all target platforms. | |
| void | addBuildPlatformMakeVars (Map< String, String > vars, String platform) |
| Add make variables specific to the build platform. | |
| void | addTargetPlatformMakeVars (Map< String, String > vars, Set< String > ext_lib_dirs, String platform) |
| Add make variables specific to the target platform. | |
| String | varFromList (Collection< String > list) |
| Format a list of values into a form understood by make (i.e. | |
| String | varFromList (Collection< String > list, StringOperation op) |
| Format a list of values into a form understood by make (i.e. | |
class :0
| org.jmodelica.modelica.compiler.GccCompilerDelegator.GccCompilerDelegator | ( | ) |
| void org.jmodelica.modelica.compiler.GccCompilerDelegator.addBuildPlatformMakeVars | ( | Map< String, String > | vars, | |
| String | platform | |||
| ) | [protected] |
Add make variables specific to the build platform.
| void org.jmodelica.modelica.compiler.GccCompilerDelegator.addFixedMakeVars | ( | Map< String, String > | vars, | |
| String | fileName, | |||
| String | jmodelicaHome, | |||
| Set< String > | ext_libs, | |||
| Set< String > | ext_incl_dirs | |||
| ) | [protected] |
Add make variables to set that is valid for all target platforms.
| void org.jmodelica.modelica.compiler.GccCompilerDelegator.addTargetPlatformMakeVars | ( | Map< String, String > | vars, | |
| Set< String > | ext_lib_dirs, | |||
| String | platform | |||
| ) | [protected] |
Add make variables specific to the target platform.
| void org.jmodelica.modelica.compiler.GccCompilerDelegator.compileCCode | ( | String | fileName, | |
| String | target, | |||
| File | workDir, | |||
| Set< String > | ext_libs, | |||
| Set< String > | ext_lib_dirs, | |||
| Set< String > | ext_incl_dirs | |||
| ) |
Compile DLL(s) from generated C code.
Implements org.jmodelica.modelica.compiler.CCompilerDelegator.
| String org.jmodelica.modelica.compiler.GccCompilerDelegator.getMake | ( | String | platform | ) | [protected] |
Get the make command to use for the specified build platform.
| File org.jmodelica.modelica.compiler.GccCompilerDelegator.getMakefile | ( | String | jmodelicaHome, | |
| String | platform | |||
| ) | [protected] |
Get the path to the Makefile for the specified target platform.
| String [] org.jmodelica.modelica.compiler.GccCompilerDelegator.getTargetPlatforms | ( | ) | [protected] |
Get the target platforms to compile for.
| String org.jmodelica.modelica.compiler.GccCompilerDelegator.varFromList | ( | Collection< String > | list, | |
| StringOperation | op | |||
| ) | [protected] |
Format a list of values into a form understood by make (i.e.
space-separated).
Applies op to each value before adding it to the result.
| String org.jmodelica.modelica.compiler.GccCompilerDelegator.varFromList | ( | Collection< String > | list | ) | [protected] |
Format a list of values into a form understood by make (i.e.
space-separated).
1.5.8