Changing the Xcode default action for Lex files
Changing the Xcode default action for Lex files
- Subject: Changing the Xcode default action for Lex files
- From: Chaffinch <email@hidden>
- Date: Mon, 15 Mar 2004 20:35:45 +0000 (GMT)
I am trying to coerce Xcode in doing the correct thing with my projects lex
file. I want lex to generate a C++ scanner, lex can do that fine. Trouble is
Xcode is giving the derived source a .c extension and then compiling it as a
c source file, resulting in errors.
I can see on the build log that Xcode is using the -o option to lex to
specify output file name. But is there a way to change this? I have googled
and searched the Xcode help but so far come up empty.
I suppose I could use a custom script, but this seems like a bit of a kludge.
Is there a better way?
Anyone help please.
Thanks.
=====
Regards
Chaffinch
----------------------------------------------
___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
_______________________________________________
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.