Configure File Build Options
Sometimes it may be necessary for individual files to have different build options from the project, such as optimization levels or memory models.
Open the File Properties Window
In the Projects window, right-click on the file whose properties you wish to modify and select Properties from the pop-up menu.
Click image to enlarge.
Override Project Build Properties
Check the box next to Override build options
You should now see a tree on the left similar to the one in the Project Properties window.
Click image to enlarge.
Modify Build Options
In the same way you would modify a project's build options, you can modify a single file's build options by selecting categories from the tree on the left and modifying their respective properties that will be displayed on the right.
Click image to enlarge.
Close the File Properties Window
Click the OK button.
Click image to enlarge.



