How to copy SDK source files into project rather than to link them

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

How to copy SDK source files into project rather than to link them

跳至解决方案
1,929 次查看
jianyingchu
Contributor I

I am using the S32 KEAZ128 SDK in my project. By default, all the SDK files are linked to my project. Because multiple project are to use the SDK and make specific tweaks for each application, It necessitate the SDK files are copied into each project rather to be linked into. Is there any way to do it? Thanks, Jerry

标记 (3)
0 项奖励
1 解答
1,615 次查看
stanish
NXP Employee
NXP Employee

Hello Jerry,

I'd suggest you to create your custom SDK that will copy all the files into a project.

1) go to SDK Management dialog (menu Window -> Preferences -> SDK Management)

pastedImage_1.png

2) Click "Add..." to create a new SDK and enter Name, Version, Description

pastedImage_2.png

3) Browse to select SDK source path ("c:\NXP\S32DS_ARM_v1.3\S32DS\S32_SDK_KEA_1_0_0")

pastedImage_3.png

4) Select all / Copy all the sources and headers

pastedImage_5.png

pastedImage_10.png

5) Now your workspace contains a new SDK

pastedImage_13.png

6) You can create a new project now and your new SDK should be available in the list of SDKs so select it and finish the wizard.

pastedImage_18.png

Your project should now contain a copy of entire source folder structure (+ include paths):

pastedImage_20.png

Hope it helps.

Stan

在原帖中查看解决方案

0 项奖励
2 回复数
1,616 次查看
stanish
NXP Employee
NXP Employee

Hello Jerry,

I'd suggest you to create your custom SDK that will copy all the files into a project.

1) go to SDK Management dialog (menu Window -> Preferences -> SDK Management)

pastedImage_1.png

2) Click "Add..." to create a new SDK and enter Name, Version, Description

pastedImage_2.png

3) Browse to select SDK source path ("c:\NXP\S32DS_ARM_v1.3\S32DS\S32_SDK_KEA_1_0_0")

pastedImage_3.png

4) Select all / Copy all the sources and headers

pastedImage_5.png

pastedImage_10.png

5) Now your workspace contains a new SDK

pastedImage_13.png

6) You can create a new project now and your new SDK should be available in the list of SDKs so select it and finish the wizard.

pastedImage_18.png

Your project should now contain a copy of entire source folder structure (+ include paths):

pastedImage_20.png

Hope it helps.

Stan

0 项奖励
1,615 次查看
jianyingchu
Contributor I

Hi Stanislav,

appreciate your reply very much. your solutions works great to me! BRs, Jerry

0 项奖励