Attribute
|
Description
|
Type
|
classname
|
Sets the default compiler adapter. Use the "name" attribute
when the compiler is a supported compiler.
|
java.lang.String
|
debug
|
If set true, all targets will be built for debugging.
|
boolean
|
description
|
Sets a description of the current data type.
|
java.lang.String
|
exceptions
|
Enables or disables exception support.
|
boolean
|
extends
|
Specifies that this element extends the element with
id attribute with a matching value. The configuration
will be constructed from the settings of this element,
element referenced by extends, and the containing
cc element.
|
org.apache.tools.ant.types.Reference
|
id
|
Sets an id that can be used to reference this element.
|
java.lang.String
|
if
|
Sets the property name for the 'if' condition.
The configuration will be ignored unless the property
is defined.
The value of the property is insignificant, but values
that would imply misinterpretation ("false", "no")
will throw an exception when evaluated.
|
java.lang.String
|
inherit
|
If inherit has the default value of true,
defines, includes and other settings from the containing
element will be inherited.
|
boolean
|
libtool
|
Set use of libtool.
If set to true, the "libtool " will be prepended to the
command line
|
boolean
|
multithreaded
|
Enables or disables generation of multithreaded code.
Unless specified, multithreaded code generation is enabled.
|
boolean
|
name
|
Sets compiler type.
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
|
rebuild
|
If set true, all targets will be unconditionally rebuilt.
|
boolean
|
refid
|
Specifies that this element should behave as if
the content of the element with the matching id attribute
was inserted at this location. If specified,
no other attributes or child content should be specified,
other than "if", "unless" and "description".
|
org.apache.tools.ant.types.Reference
|
unless
|
Set the property name for the 'unless' condition.
If named property is set, the configuration will be ignored.
The value of the property is insignificant, but values
that would imply misinterpretation ("false", "no")
of the behavior will throw an exception when evaluated.
|
java.lang.String
|
warnings
|
Enumerated attribute with the values "none", "severe",
"default", "production", "diagnostic",
and "failtask".
|
net.sf.antcontrib.cpptasks.CompilerDef.WarningLevel
|