lex: Found my answer, never mind
lex: Found my answer, never mind
- Subject: lex: Found my answer, never mind
- From: Dan Caugherty <email@hidden>
- Date: Tue, 22 Sep 2009 21:56:58 -0400
Hey all --
Sorry to bother again, but I just found my answer. For posterity's sake:
Inspecting the target in question (Command-I) reveals the magic pop-up
for build rules. So I defined one for Lex (.l) files for this target
to use the following custom script:
lex -+ --yyclass=${INPUT_FILE_BASE}
-o${DERIVED_FILES_DIR}/lex.${INPUT_FILE_BASE}.cpp ${INPUT_FILE_NAME}
with the following output file:
lex.$(INPUT_FILE_BASE).cpp
..and things seem to be rather copacetic now.
Cheers,
-- Dan
_______________________________________________
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