"Build project" Always Builds Everything

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"Build project" Always Builds Everything

183 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sal Ammoniac on Thu Nov 20 23:20:11 MST 2014
When I click the "Build project" icon (the hammer), it compiles all of my C and assembly files. If I then edit one of the C files and do another build, it goes and compiles everything again.

Why does it do this? I would expect that after I changed one of the C files after the first build the second build would just compile the file I changed, not all of the files again.

It's acting like "Build project" is really "Clean project + Build project".

Is there a configuration item that I have set incorrectly that's causing this behavior?

LPCXpresso 7.5.0
0 Kudos
2 Replies

172 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sal Ammoniac on Fri Nov 21 05:56:33 MST 2014
I am using Linux-style paths for include files. There's not a single '\' character in my entire project.

I'll try to post a subset of my project that still exhibits this issue...
0 Kudos

172 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Nov 21 00:38:41 MST 2014
Normally, this is because you are using Windows-style paths for include files. You MUST use linux-style paths. i.e.
#include "dir/include.h"
and not
#include "dir\include.h"

If that does not solve your problem, exprt your project and post it her.
0 Kudos