Reputation: 1427
Hi I am currently developing a C application in eclipse and now I need to compile a library which uses C++. Is there a way to add .cpp handling (MinGW C++ Compiler) to and existing C Project in Eclipse CDT?
Upvotes: 6
Views: 1939
Reputation: 13864
According to this post on the Eclipse forum, just add
<nature>org.eclipse.cdt.core.ccnature</nature>
to the the <natures></natures>
tag of your .project
file.
Upvotes: 6