Can't exclude from build

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Can't exclude from build

跳至解决方案
8,085 次查看
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 项奖励
回复
1 解答
8,078 次查看
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.

在原帖中查看解决方案

5 回复数
8,061 次查看
superaga
Contributor III

Hi @converse,

Yes that solved the issue.

 

Thank you very much!

AGA

0 项奖励
回复
8,031 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello AGA,

 Thanks for your sharing.

 

Regards,

Alice

0 项奖励
回复
8,070 次查看
ErichStyger
Specialist I

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 项奖励
回复
8,060 次查看
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 项奖励
回复
8,079 次查看
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.