Re: pre processing problem xcode 2.1
Re: pre processing problem xcode 2.1
- Subject: Re: pre processing problem xcode 2.1
- From: Scott Tooker <email@hidden>
- Date: Wed, 15 Jun 2005 14:22:29 -0700
Please file a bug at this point. I don't see anything obviously wrong
in your description, aside from step 3 (you should be creating a new
tool target, not an aggregate target, but aggregate targets shouldn't
have build rules so I think you just mistyped).
Scott
On Jun 15, 2005, at 12:49 PM, Ronald Rood wrote:
Currently you have two choices:
1) create a build rule that acts on *.pc files using a shell script
2) add a custom shell script to process the *.pc files and then add
the resulting .c files to your target so they get picked up.
Hi Scott,
1) in xcode 2.1 create a standard tools project (commandline tool)
2) in finder copy main.c to main.pc
3) in xcode create an aggregate target main.c
4) create a new rule for source files matching .pc with output
files .c
with shell script cat ${INPUT_FILE_NAME} >${INPUT_FILE_BASE).c
5) make the main target depend from main.c
Build and see. It's not the most usefull project but I can't make it
simpler. In proc lots of code gets inserted giving a nice piece of
extra
code in the .c file that needs to be compiled.
This did work in xcode 2.0
What error did I make ? (upgrade to 2.1 ;-))
Regards,
Ronald.
_______________________________________________
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
_______________________________________________
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