Attribute
|
Description
|
Type
|
classname
|
Sets the default compiler adapter. Use the "name" attribute
when the compiler is a supported compiler.
|
java.lang.String
|
dataset
|
Sets the dataset for OS/390 builds.
|
java.lang.String
|
debug
|
Enables or disables generation of debug info.
|
boolean
|
dependencydepth
|
Deprecated.
Controls the depth of the dependency evaluation.
Used to do a quick check of changes before a full build.
Any negative value which will perform
full dependency checking. Positive values will
truncate dependency checking. A value of 0 will
cause only those files that changed to be recompiled,
a value of 1 which cause files that changed or that
explicitly include a file that changed to be recompiled.
Any non-negative value will cause a BuildException to
be thrown before attempting a link or completing the task.
|
int
|
exceptions
|
Enables generation of exception handling code
|
boolean
|
incremental
|
Enables or disables incremental linking.
|
boolean
|
libtool
|
Set use of libtool.
If set to true, the "libtool " will be prepended to the
command line for compatible processors
|
boolean
|
multithreaded
|
Enables or disables generation of multithreaded code
|
boolean
|
name
|
Sets type of the default compiler and linker.
Supported compilers
gcc (default) | GCC C++ compiler |
g++ | GCC C++ compiler |
c++ | GCC C++ compiler |
msvc | Microsoft Visual C++ |
bcc | Borland C++ Compiler |
msrc | Microsoft Resource Compiler |
brc | Borland Resource Compiler |
df | Compaq Visual Fortran Compiler |
midl | Microsoft MIDL Compiler |
icl | Intel C++ compiler for Windows (IA-32) |
ecl | Intel C++ compiler for Windows (IA-64) |
icc | Intel C++ compiler for Linux (IA-32) |
ecc | Intel C++ compiler for Linux (IA-64) |
CC | Sun ONE C++ compiler |
aCC | HP aC++ C++ Compiler |
os390 | OS390 C Compiler |
os400 | Icc Compiler |
sunc89 | Sun C89 C Compiler |
xlC | VisualAge C Compiler |
|
net.sf.antcontrib.cpptasks.CompilerEnum
|
objdir
|
Sets the destination directory for object files.
|
java.io.File
|
outfile
|
Sets the output file name. If not specified, the task will
only compile files and not attempt to link.
If an extension is not specified,
the task may use a system appropriate extension and prefix, for
example, outfile="example" may result in "libexample.so" being created.
|
java.io.File
|
outtype
|
Sets the output file type. Supported values "executable",
"shared", and "static".
|
net.sf.antcontrib.cpptasks.OutputTypeEnum
|
rebuild
|
If set to true, all files will be rebuilt.
|
boolean
|
relentless
|
If set to true, compilation errors will not stop
the task until all files have been attempted.
|
boolean
|
runtime
|
Sets the type of runtime library, possible values "dynamic", "static".
|
net.sf.antcontrib.cpptasks.CCTask.RuntimeType
|
subsystem
|
Sets the nature of the subsystem under which that the program will
execute.
Supported subsystems
gui | Graphical User Interface |
console | Command Line Console |
other | Other |
|
net.sf.antcontrib.cpptasks.SubsystemEnum
|
warnings
|
Enumerated attribute with the values "none", "severe",
"default", "production", "diagnostic",
and "failtask".
|
net.sf.antcontrib.cpptasks.CompilerDef.WarningLevel
|