build phase with Perl script
build phase with Perl script
- Subject: build phase with Perl script
- From: 00bioarchimed <email@hidden>
- Date: Mon, 26 Mar 2007 19:47:00 +0200
Hi,
i'm a beginner with Xcode and MacOSX development too.
Porting a C application made with gcc on PC,
i could made it work. Great tool than Xcode :-)
But, now i try to automatize some pre-build phase using
a Perl script ( which is big and already work )
so in a new build phase, i put a new rule :
Process: Sources files with names matching: *.pm
using: Custom script
which is: perl ${SRCROOT}/src/TranslatePm2C.pl > $
{SHARED_DERIVED_FILE_DIR}/test.c
in the build result, i have:
/bin/sh -c perl\ ${SRCROOT}/src/TranslatePm2C.pl\ >$
{SHARED_DERIVED_FILE_DIR}/test.c
/bin/sh: line 1: /Users/thierry/XcodeProjects/Prj/../_build/Release
x86-32/DerivedSources/test.c: No such file or directory
=====================
First, i would like to put the result of my script in the same
directory of my *.c sources files.
Is this possible, and what Environment variables ( and where ) we can
change for this ? Well,
this means that the Builder will look here too to process the
derivedSources !
Second, it seems that with this technic of adding shell script, the
command
is send whatever our files are uptodates ?
Can we change this behavior , and if yes, How ?
Thanks for any help
Regards,
thierry
_______________________________________________
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