Saving a project in Source Control

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

Saving a project in Source Control

跳至解决方案
242 次查看
ekmas-19
Contributor II

I created a S32K344 Project. which files are need to be saved in source control? 

For sure the .mex file is required and the generated files would not be need as they can easily be recreated. 

My guess is as follows. Can someone confirm this?

Save;  .mex and all files at this top level. /src, /includes, /Project Settings

don't save; /RTD, /board, /generate, /Debug_Flash (or the equivalent in RAM or release), /RemoteSystemsTempFiles

not sure; /.settings, /.metadata, /.metadata/plugins

 

标记 (2)
0 项奖励
回复
1 解答
218 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @ekmas-19,

For both the save and don't save list, I agree. 

For not sure, I recommend keeping /.project, /.cproject and /.settings, in order to import/build the project without reconfiguring it manually (for compiler and CDT configurations).

You can ignore /.metadata, as it normally includes workspace related configuration.

Keep in mind that, for reproducible builds, the same RTD version (with patch) must be used. 

Best regards,
Julián

在原帖中查看解决方案

0 项奖励
回复
1 回复
219 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @ekmas-19,

For both the save and don't save list, I agree. 

For not sure, I recommend keeping /.project, /.cproject and /.settings, in order to import/build the project without reconfiguring it manually (for compiler and CDT configurations).

You can ignore /.metadata, as it normally includes workspace related configuration.

Keep in mind that, for reproducible builds, the same RTD version (with patch) must be used. 

Best regards,
Julián

0 项奖励
回复