Can't exclude from build

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

Can't exclude from build

Jump to solution
2,405 Views
superaga
Contributor III

Hi all,

I'm using the (last) MCUXpresso IDE v11.2.1 [Build 4149] [2020-10-07].

I can't Exclude from build a folder that I added to a project.

I used to do it without a problem on a previous IDE version. I'd like to avoid to reinstall also another older version (I've just got a clean installation) to check this.

am I the only one got this issue or is it a bug? I attach screenshots of the matter.

excludeBuild_01 -> see all folders icon before the operation;

excludeBuild_02 ->execution of the command on both the configurations;

excludeBuild_03 ->result after command run. All folders look still considered for the build.

 

Best regards,

AGA

0 Kudos
1 Solution
2,398 Views
converse
Senior Contributor V

To be included in a build, the folder needs to be a source folder. If it is not a source folder, it is automatically excluded from the build.

 

From your '01 screenshot, there are no source folders, so excluding does not make sense.

View solution in original post

5 Replies
2,381 Views
superaga
Contributor III

Hi @converse,

Yes that solved the issue.

 

Thank you very much!

AGA

0 Kudos
2,351 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello AGA,

 Thanks for your sharing.

 

Regards,

Alice

0 Kudos
2,390 Views
ErichStyger
Senior Contributor V

Your parent/root folder needs to be *included* into the build and should have a 'S' as Icon decorator to indicate it contains sources.

ErichS_0-1605543893617.png

 

0 Kudos
2,380 Views
superaga
Contributor III

Hi @ErichStyger,

Yes that solves the issue.

For sure my mind failed to remember the steps I made..

 

Thank you very much!

AGA

0 Kudos
2,399 Views
converse
Senior Contributor V

To be included in a build, the folder needs to be a source folder. If it is not a source folder, it is automatically excluded from the build.

 

From your '01 screenshot, there are no source folders, so excluding does not make sense.