Hi, experts:
Our IDE IS CCS Theia 1.3.1, we need to open the source code to our customer, but some critical codes need to be provided as lib file, could you show me how to create a lib file and use it in customer project? Thanks.
Bill
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, experts:
Our IDE IS CCS Theia 1.3.1, we need to open the source code to our customer, but some critical codes need to be provided as lib file, could you show me how to create a lib file and use it in customer project? Thanks.
Bill
图表 1 项目
步骤如下:
1、右键——>new——>CCS Project
为了便于管理,工程名应与c文件(DSP28335x_SysCtrl)同名,便于生成同名库文件(DSP28335x_SysCtrl.lib)。再者应设置Output type为Static Library。(默认为可执行文件.out)
2、加入模块源文件
3、编译成功后在debug文件夹内,生成库文件。
4、工程加入模块库文件,以及包含对应的.h文件。
6、编译成功
Best Regards,
Janz Bai