Specifications
CHAPTER 8
158
Incremental compilation can help reduce compile time on small applications, but you achieve the biggest gains on
larger applications.
The default value of the incremental compiler option is true for the Flex Builder application compiler. For the
mxmlc command-line compiler, the default is
false.
Using conditional compilation
To include or exclude blocks of code for certain builds, you can use conditional compilation. The mxmlc compiler
lets you pass the values of constants to the application at compile time. Commonly, you pass a Boolean that is used
to include or exclude a block of code such as debugging or instrumentation code. The following example condi-
tionalizes a block of code by using an inline constant Boolean:










