lex: how to override Xcode's output file choice?
lex: how to override Xcode's output file choice?
- Subject: lex: how to override Xcode's output file choice?
- From: Dan Caugherty <email@hidden>
- Date: Tue, 22 Sep 2009 21:35:16 -0400
Hey all --
I'd like (f)lex to produce C++ (yes, the evil FlexLexer option.. I
know, it's frightful, but I have my reasons). But Xcode insists on
invoking lex with
-o$(DERIVED_SOURCES)/lex.yy.c
as the final flag in the command line.
All of my attempts to override this setting via lex build flag
settings in the project have failed. Rather than hack together a
script to move this file to lex.myfunkylexer.cpp, how can I tell Xcode
to stop adding its own -o option?
(I hate it when tools try too hard to be helpful.)
I'm sure there's an easier way to do this, but finding it has been an
adventure. Would anyone here know?
Thanks,
-- Dan Caugherty
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden