net.sf.antcontrib.cpptasks.compiler
public abstract class PrecompilingCommandLineCompiler extends CommandLineCompiler implements PrecompilingCompiler
Constructor Summary | |
---|---|
protected | PrecompilingCommandLineCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, String outputSuffix, boolean libtool, PrecompilingCommandLineCompiler libtoolCompiler, boolean newEnvironment, Environment env) |
Method Summary | |
---|---|
CompilerConfiguration[] | createPrecompileConfigurations(CompilerConfiguration config, File prototype, String[] exceptFiles)
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.
|
protected abstract CompilerConfiguration | createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude) |
protected abstract CompilerConfiguration | createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude, String[] exceptFiles) |
Parameters: config base configuration 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 configuration