net.sf.antcontrib.cpptasks.compiler
public final class CommandLineCompilerConfiguration extends Object implements CompilerConfiguration
| Constructor Summary | |
|---|---|
| CommandLineCompilerConfiguration(CommandLineCompiler compiler, String identifier, File[] includePath, File[] sysIncludePath, File[] envIncludePath, String includePathIdentifier, String[] args, ProcessorParam[] params, boolean rebuild, String[] endArgs) | |
| CommandLineCompilerConfiguration(CommandLineCompilerConfiguration base, String[] additionalArgs, String[] exceptFiles, boolean isPrecompileHeaderGeneration) | |
| Method Summary | |
|---|---|
| int | bid(String inputFile) |
| 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 | getCommand() |
| Compiler | getCompiler() |
| String[] | getEndArguments() |
| String | getIdentifier()
Returns a string representation of this configuration. |
| File[] | getIncludePath() |
| String | getIncludePathIdentifier() |
| String[] | getOutputFileNames(String inputFile, VersionInfo versionInfo) |
| CompilerParam | getParam(String name) |
| ProcessorParam[] | getParams() |
| String[] | getPreArguments() |
| boolean | getRebuild() |
| boolean | isPrecompileGeneration() |
| DependencyInfo | parseIncludes(CCTask task, File baseDir, File source) |
| String | toString() |
Parameters: 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