public class NativeCompileMojo extends AbstractNativeMojo
Modifier and Type | Field | Description |
---|---|---|
protected File |
compilerOutputDirectory |
Compiler output files ( .o, .obj, etc) location
|
protected int |
numberOfConcurrentCompilation |
Number of parallel compilation threads
|
protected NativeSources[] |
sources |
Array of NativeSources containing include directories and source files.
|
dependencyIncludeDirectory, EMPTY_FILE_LIST, envFactoryManager, INCZIP_FOUND, INCZIP_TYPE, LINKER_INPUT_LIST_NAME, LINKER_OUTPUT_PATH, project, workingDirectory
Constructor | Description |
---|---|
NativeCompileMojo() |
Modifier and Type | Method | Description |
---|---|---|
protected CompilerConfiguration |
createProviderConfiguration() |
|
void |
execute() |
|
protected CompilerConfiguration |
getCompilerConfiguration() |
Internal only for test harness purpose
|
getLog, getPluginContext, setLog, setPluginContext
getAllCompilersOutputFileList, getEnvFactory, getProject, removeEmptyOptions, saveCompilerOutputFilePaths
protected NativeSources[] sources
protected File compilerOutputDirectory
protected int numberOfConcurrentCompilation
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected CompilerConfiguration createProviderConfiguration() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected CompilerConfiguration getCompilerConfiguration()
Copyright © 2019 MojoHaus. All rights reserved.