The compiler directives are saved with the project, so that they are used on all files in the project the next time you rebuild.
These directives are overridden by any specified for individual source files.