@Mojo(name="compile", defaultPhase=COMPILE) public class NativeCompileMojo extends AbstractNativeMojo
Modifier and Type | Field and 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 and Description |
---|
NativeCompileMojo() |
Modifier and Type | Method and Description |
---|---|
protected CompilerConfiguration |
createProviderConfiguration() |
void |
execute() |
protected CompilerConfiguration |
getCompilerConfiguration()
Internal only for test harness purpose
|
getAllCompilersOutputFileList, getEnvFactory, getProject, removeEmptyOptions, saveCompilerOutputFilePaths
@Parameter protected NativeSources[] sources
@Parameter(defaultValue="${project.build.directory}/objs", required=true) protected File compilerOutputDirectory
@Parameter(defaultValue="1") 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 © 2005–2018 MojoHaus. All rights reserved.