Use the Compiling properties page to set compiling options for a .
You open the Compiling properties page by choosing File > <active project name> Properties. In the Project Properties dialog, select Build > Compiling.
If you are setting the properties for a project configuration other than the
default configuration (DefaultConfiguration
), you must uncheck
the Use Values from "DefaultConfiguration" checkbox at the top of
the page to customize these options.
This page enables you to set the following options:
-g
option
in javac. If unchecked, no debugging information is generated (the -g:none
option in javac). -O
option in javac. Optimizing
can slow down compilation, produce larger class files, and make the program
difficult to debug.//#debug
and //#mdebug
preprocessor
directives. If you enter a unique value for the level (for example, debug_graphics
),
the preprocessor allows only debug blocks that exactly match the debug block
(for this example, //#debug debug_graphics
). All other debug
blocks are commented out.fatal
(most exclusive)error
warn
info
For example, if you choose warn
, all info
and
debug
blocks will be commented out.