any way to have Xcode treat .cpp files like .mm files?
any way to have Xcode treat .cpp files like .mm files?
- Subject: any way to have Xcode treat .cpp files like .mm files?
- From: Jens Miltner <email@hidden>
- Date: Wed, 28 Jan 2004 14:30:12 +0100
I'd like to put some Objective-C code into some preexisting C++ source
files. Essentially, I'd like to implement a cross platform C++
application based on Cocoa.
I tried the Cocoa-Carbon-C++ sample code, but I couldn't get Xcode to
interpret .cpp files as Objective-C/C++ files.
I tried changing the filetype for a .cpp file to
"sourcecode.cpp.objcpp", but that didn't change the way the compiler
interprets the file. Looks like the compiler has hardwired to interpret
.cpp as plain C++ and only interpret .mm as Objective-C++ ?
Did I miss anything or is it plain impossible to compile .cpp files as
Objective-C++?
Thanks,
</jum>
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.