public interface CompilerConfiguration extends ProcessorConfiguration
Modifier and Type | Method and Description |
---|---|
void |
compile(CCTask task,
java.io.File outputDir,
java.lang.String[] sourceFiles,
boolean relentless,
ProgressMonitor monitor) |
CompilerConfiguration[] |
createPrecompileConfigurations(java.io.File prototype,
java.lang.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.
|
java.lang.String |
getIncludePathIdentifier()
Returns an digest for the include path for the configuration.
|
CompilerParam |
getParam(java.lang.String name) |
boolean |
isPrecompileGeneration() |
DependencyInfo |
parseIncludes(CCTask task,
java.io.File baseDir,
java.io.File source) |
bid, getIdentifier, getOutputFileNames, getParams, getRebuild
void compile(CCTask task, java.io.File outputDir, java.lang.String[] sourceFiles, boolean relentless, ProgressMonitor monitor) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
CompilerConfiguration[] createPrecompileConfigurations(java.io.File prototype, java.lang.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 configurationjava.lang.String getIncludePathIdentifier()
CompilerParam getParam(java.lang.String name)
boolean isPrecompileGeneration()
DependencyInfo parseIncludes(CCTask task, java.io.File baseDir, java.io.File source)
Copyright ? 2001-2015 Ant-Contrib project. All Rights Reserved.