Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Add C++ files to the build-process in a C-Project
icon5.gif  Add C++ files to the build-process in a C-Project [message #1118213] Fri, 27 September 2013 03:06
Eclipse Guest
Messages: 92
Registered: February 2013
Location: Vienna
Member
Hey there,

I have to following problem:

I have a C-Project, containing of a lot of C-Code in *.c files.
Now I have some C++ code I want to add there, which I write into *.cpp files.

When I call my gcc over the command line, it works fine and everything is good. But Eclipse ignores the *.cpp files and is hence calling the gcc only with the parameters to build the C-Files.

Can I somehow tell Eclipse, that it also shall include the cpp-files?

Regards

Tobias
Previous Topic:dlerror undefined symbol: SDL_EnableUNICODE
Next Topic:turning of gdb pretty printing
Goto Forum:
  


Current Time: Fri Aug 29 10:21:19 EDT 2014

Powered by FUDForum. Page generated in 0.01717 seconds