public interface CompilerConfiguration extends ProcessorConfiguration
Modifier and Type | Method and Description |
---|---|
void |
compile(CCTask task,
File outputDir,
String[] sourceFiles,
boolean relentless,
ProgressMonitor monitor) |
CompilerConfiguration[] |
createPrecompileConfigurations(File prototype,
String[] nonPrecompiledFiles)
This method may be used to get two distinct compiler configurations, one
for compiling the specified file and producing a precompiled header
file, and a second for compiling other files using the precompiled
header file.
|
String |
getIncludePathIdentifier()
Returns an digest for the include path for the configuration.
|
CompilerParam |
getParam(String name) |
boolean |
isPrecompileGeneration() |
DependencyInfo |
parseIncludes(CCTask task,
File baseDir,
File source) |
bid, getIdentifier, getOutputFileNames, getParams, getRebuild
void compile(CCTask task, File outputDir, String[] sourceFiles, boolean relentless, ProgressMonitor monitor) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
CompilerConfiguration[] createPrecompileConfigurations(File prototype, String[] nonPrecompiledFiles)
prototype
- A source file (for example, stdafx.cpp) that is used to build
the precompiled header file. @returns null if precompiled
headers are not supported or a two element array containing
the precompiled header generation configuration and the
consuming configurationString getIncludePathIdentifier()
CompilerParam getParam(String name)
boolean isPrecompileGeneration()
DependencyInfo parseIncludes(CCTask task, File baseDir, File source)
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.