MCUXpresso always does a clean before building after switching between Debug and Release builds

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

MCUXpresso always does a clean before building after switching between Debug and Release builds

325 Views
rshipman
Contributor V

Hi,

Why does MCUXpresso always do a clean before building, when switching between Debug and Release builds? I've not changed any settings.

All the temporary files, including object files and the auto-generated make files are kept in separate folders, so why the need to clean? The usual check for dependencies that are out of date should be sufficient.

Info:
MCUXpresso IDE v11.8.1 [Build 1197] [2023-10-27]
Windows 11
RT1021 project

Many thanks.

0 Kudos
2 Replies

276 Views
ckielstra
Contributor II

My environment doesn't show the cleaning behavior you describe.

Just for sure, could it be that one of your project configurations has the clean option enabled? I think it's on by default, so if you created a new project configuration it might have been enabled.

  • Go to Project / Properties / C/C++ Build
  • Check on top you have selected, Configuration: [All configurations],  or the configurations you want to verify.
  • Select the Behavior tab (easy to overlook)
  • At the bottom of the page, disable the 'Clean' checkbox
0 Kudos

311 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @rshipman 

Could you please share your step and log? 

I test on my side, change Debug to Release, there is no clean. So I want to refer to your steps to reproduce, thanks.

 

BR

Alice

0 Kudos