.C cplusplus files in XCode?
Anyone know how to setup XCode to recognize .C files as c++ files?
As it is right now, it will only switch from the .h->.C and not back. Major annoyance.
As it is right now, it will only switch from the .h->.C and not back. Major annoyance.
---Kelvin--
15.4" MacBook Pro revA
1.83GHz/2GB/250GB
single click on the file, press the info button, then there should be a drop down menu, and you can change how the compiler will interpret that specific file (I don't know how to change it globally, sorry).
Rename your source files to something sane?
It may be the case that Xcode or GCC will detect whether you have a case-sensitive disk, and treat them as C++ if you do, and C if you don't.
It may be the case that Xcode or GCC will detect whether you have a case-sensitive disk, and treat them as C++ if you do, and C if you don't.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Why won't Xcode even try compiling my .cpp files?? | SparkyNZ | 11 | 11,031 |
Apr 3, 2011 01:44 PM Last Post: AnotherJake |
|
| Newbie problem XCode Include files | BBBert | 1 | 3,814 |
Mar 17, 2008 03:46 PM Last Post: OneSadCookie |
|
| Recompiling header files in Xcode | scgames | 7 | 5,848 |
Jun 30, 2006 07:39 PM Last Post: ravuya |
|
| xCode "Copy Files Build Phase" | hangt5 | 2 | 5,242 |
Oct 5, 2005 03:36 PM Last Post: hangt5 |
|
| Cannot debug header files XCode 2.0 | NYGhost | 1 | 3,286 |
Jul 20, 2005 11:49 AM Last Post: LongJumper |
|

