You use directives to control the way the Compiler behaves: what output it produces, what code is compiled and how the compiled code behaves when it runs.
You can specify Compiler directives within the IDE. However, you can specify them in a number of other ways too, such as on the command line, or in a directives file.