Re: Objective-C++
Re: Objective-C++
- Subject: Re: Objective-C++
- From: Scott Thompson <email@hidden>
- Date: Fri, 9 Apr 2004 17:26:48 -0500
Thanks! That worked.
I had seen the .mm extension in a couple of areas online, but they
used it for the cpp files instead of the Objective-C/C++ files, so I
was naming things incorrectly.
Thanks again,
David
Alteratively you can also use a single,capitol "M" as the file type
extension (myfile.M) though this is a bit more error prone as the rest
of the OS really doesn't distinguish between myfile.M and myfile.m.
Another way to do it is to change the "Compile Sources As" value under
the Gnu C/C++ compiler settings of your current target or build style.
That way ALL of your files regardless of their file extension will
compile as whatever C variant you like.
Scott
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.