KDS - add C++ support to already existing C project

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

KDS - add C++ support to already existing C project

跳至解决方案
2,439 次查看
Novalis
Contributor III

Hello,

I am working with USB-MSD demo on FRDM-K64F and I would like to add some C++ code I did to the project. How can I add C++ support to this project? I don't see "Cross ARM C++ compiler" and "Cross ARM C++ linker" in Tool Settings list (just C compiler + linker) under C/C++ build -> Settings -> Tool Settings   just like in new project created by wizzard.

 

I am looking for something easier than creating new project with wizzard and copying all include paths and settings   But if there won't be any other way, I will have to do that.

 

Thanks,

Martin

标签 (1)
0 项奖励
回复
1 解答
1,847 次查看
Novalis
Contributor III

Hello,

I found out what I wanted -  I just had  to add line

<nature>org.eclipse.cdt.core.ccnature</nature>

into  .project file  into <natures> section  and now I can also see C++ settings

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,847 次查看
davenadler
Senior Contributor I

For more complete answer, see: https://community.nxp.com/message/843799 

0 项奖励
回复
1,847 次查看
DavidS
NXP Employee
NXP Employee

Hi Martin,

Please review following to see if it helps.

How to Create a C++ Project Using MQX RTOS for KSDK1.2

Regards,

David 

0 项奖励
回复
1,848 次查看
Novalis
Contributor III

Hello,

I found out what I wanted -  I just had  to add line

<nature>org.eclipse.cdt.core.ccnature</nature>

into  .project file  into <natures> section  and now I can also see C++ settings

0 项奖励
回复