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.

1

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.

1-FileProperties.png
Click image to enlarge.

2

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.

2-OverrideBuildOptions.png
Click image to enlarge.

3

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.

3-ModifySettings.png
Click image to enlarge.

4

Close the File Properties Window

Click the OK button.

4-OK.png
Click image to enlarge.
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.