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

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

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

Jump to solution
1,402 Views
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

Labels (1)
0 Kudos
1 Solution
810 Views
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

View solution in original post

0 Kudos
3 Replies
810 Views
davenadler
Senior Contributor I

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

0 Kudos
810 Views
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 Kudos
811 Views
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 Kudos