MPLAB - Tips and tricks to help speed up your project development
MPLAB Pre and Post Build Options
Welcome to the Microchip MPLAB minutes!
Tips and tricks to help speed up your project development
Today's topic: How to have Pre and Post Project Build Options Executions.
Have you ever had the need or do you have the need before or after a project build to:
- manage directories across the network on hard drives?
- move some files around?
- process files for an executable?
- execute batch files pre or post the project build?
- execute shell commands?
or
Well, today, we'll gonna show you how:
Here we have an open MPLAB project (MPLAB version 8.14)
Now, let's say I want to pre process some files, move some files around before I do a build and after I want to do some clean-up to another directory and move the file to my build directory to another place in my hard disk.
How do I do that?
I click on:
Project -> Build Options -> Project
. Custom Build is the tab I want to select. And there I have two choices:
- a pre build setup
- a post build setup step
and logically
If I click these boxes, all I need do is provide a path to the files or the batch file that I want to execute pre or post build of my MPLAB project.
Pretty simple but pretty useful!
I hope you've enjoined this MPLAB minute and we'll see you soon for the next one.
Have a good day!
- Emanuele's blog
- 1800 reads





Post new comment