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

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

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

Jump to solution
2,516 Views
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

0 Kudos
Reply
1 Solution
2,202 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
2,203 Views
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 Kudos
Reply
2,202 Views
jianyingchu
Contributor I

Hi Stanislav,

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

0 Kudos
Reply