| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCompiler.CompilerRunnable |
| Constructor and Description |
|---|
AbstractCompiler() |
| Modifier and Type | Method and Description |
|---|---|
List |
compile(CompilerConfiguration config,
File[] sourceFiles) |
protected abstract org.codehaus.plexus.util.cli.Commandline |
getCommandLine(File src,
File dest,
CompilerConfiguration config) |
protected static File |
getObjectFile(File sourceFile,
File outputDirectory,
String objectFileExtension)
Figure out the object file relative path from a given source file
|
protected static String |
getObjectFileExtension(String fileExtension)
return "obj" or "o" when file extension is not given based on current platform
|
protected abstract Parser |
getParser() |
protected abstract Parser getParser()
protected abstract org.codehaus.plexus.util.cli.Commandline getCommandLine(File src, File dest, CompilerConfiguration config) throws NativeBuildException
NativeBuildExceptionpublic List compile(CompilerConfiguration config, File[] sourceFiles) throws NativeBuildException
compile in interface CompilerNativeBuildExceptionprotected static String getObjectFileExtension(String fileExtension)
protected static File getObjectFile(File sourceFile, File outputDirectory, String objectFileExtension) throws NativeBuildException
sourceFile - workingDirectory - outputDirectory - config - NativeBuildExceptionCopyright © 2018 MojoHaus. All rights reserved.