On 2006-09-07 14:49:25 +0200 Marko Riedel <[EMAIL PROTECTED]> wrote:
[...]
I am looking for a beginner's tutorial on building GNUstep projects that
mix C++ and Objective C, preferably with a section on writing
GNUmakefiles. What projects have been written with this combination? I
would like to see some source code to get a feel for how it's done.

Haven't seen one, but you can specifiy

FOOBAR_NAME denotes your (sub)project's name

${FOOBAR_NAME}_C_FILES = $(wildcard *.c)
${FOOBAR_NAME}_CC_FILES = $(wildcard *.cc)
${FOOBAR_NAME}_OBJC_FILES = $(wildcard *.m)
${FOOBAR_NAME}_OBJCC_FILES = $(wildcard *.mm)

If you want to mix C++ with ObjC, or use ObjC++ you will use the latter.

Note that mixing won't work with GCC < 4.x

--
Chris



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to