Difference between FOLDER and SOURCE FOLDER

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

Difference between FOLDER and SOURCE FOLDER

跳至解决方案
2,397 次查看
joelesco
Contributor III

Hi ,

 

The tittle resume my problem ! But I mean the source folder  is just a name to put the source file or this option include something ?

I saw some project with Folder containing little white square on the logo. What does that mean ?

 

Thanks a lot !

标签 (1)
0 项奖励
回复
1 解答
2,012 次查看
BlackNight
NXP Employee
NXP Employee

Hi Jay,

about 1:

For CodeWarrior, thtere is no difference if you add a 'folder' or a 'source folder'. However, there are other Eclipse tool chain integrations where it makes a difference: it will add that folder path to the compiler/assembler include paths. Again, this is not supported with the CodeWarrior compilers, so you have to add that folder path to the compiler/assembler include paths.

about 2:

Can you post a picture of this?

Erich

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,012 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

could you post a picture? I assume you are referring to Eclipse Icon decorators?

See Icon and Label Decorators in Eclipse | MCU on Eclipse

0 项奖励
回复
2,012 次查看
joelesco
Contributor III

I'm sorry but my question was very bad ! There's two point :

     1/ Is there a difference when you used a folder or a source folder ? I generaly used a simple folder to put on it the source files...

     2/ (this question as no link with the first one ) What's this icon with the folder and a white square on it ? it' s cause there's an external folder ?

Thanks again Erich for all your help !!!

0 项奖励
回复
2,013 次查看
BlackNight
NXP Employee
NXP Employee

Hi Jay,

about 1:

For CodeWarrior, thtere is no difference if you add a 'folder' or a 'source folder'. However, there are other Eclipse tool chain integrations where it makes a difference: it will add that folder path to the compiler/assembler include paths. Again, this is not supported with the CodeWarrior compilers, so you have to add that folder path to the compiler/assembler include paths.

about 2:

Can you post a picture of this?

Erich

0 项奖励
回复
2,012 次查看
joelesco
Contributor III

Thank you for this answer !

This is the picture of the icon : LOGO.jpg

0 项奖励
回复
2,012 次查看
BlackNight
NXP Employee
NXP Employee

ah, *this* one :-)

This is a icon decorator for a 'virtual folder'. You can create this if you drag&drop a folder outside of the project into the project. Then it asks you if you want to create a linked folder (a link which links to the file folder) or if it should be a virtual folder (no physical folder).

You can get the information if you select the folder and use properties: it will show that it is of type 'virtual folder'.

In case you are not familiar with this:

- linked folder: your project contains a link to the physical folder

- virtual folder: your project contains a virtual container with links to the files in that folder.

I hope this helps?

0 项奖励
回复
2,012 次查看
joelesco
Contributor III

I'm not sure that it's possible to have a better answer !!!

Thanks a lot Erich !

0 项奖励
回复