6.11.8 The switches mode

The IDE allows to save a set of compiler settings under a common name; it provides 3 names under which the switches can be saved:

Normal
For normal (fast) compilation.
Debug
For debugging; intended to set most debug switches on. Also useful for setting conditional denes that e.g. allow to include some debug code.
release
For a compile of the program as it should be released, debug information should be o, the binary should be stripped, and optimizations should be used.

Selecting one of these modes will load the compiler options as they were saved the last time the selected mode was active, i.e. it doesn't specically set or unset options.

When setting and saving compiler options, be sure to select the correct switch mode rst; it makes little sense to set debug options while the release switch is active. The switches mode dialog is shown in gure (6.31).



Figure 6.31: The switches mode dialog

PIC