Skip to main content


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 07:06
Eclipse GuestFriend
Messages: 93
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: Thu Apr 25 00:14:48 GMT 2024

Powered by FUDForum. Page generated in 0.03425 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top