Re: building ada with xcode
Re: building ada with xcode
- Subject: Re: building ada with xcode
- From: Glen Low <email@hidden>
- Date: Tue, 9 Dec 2003 19:34:36 +0800
You have at least 2 choices:
1. Make a custom shell script stage to compile your .adb files
2. You can add a build rule that has
Process: Source files with names matching: .*\.adb
Custom Script: your Ada compile script
With Output files: the expected output file(s) using appropriate Xcode
vars e.g. $(DERIVED_FILES_DIR)
Then add your .adb file to the Sources build stage.
The tricky bit is that you have to enter in a regular expression in the
"names matching" bit, and it sees the entire path of the input file not
just the file name, I think the regex I put in is correct, you may have
to adjust it.
Perversely though, Xcode will insist on compiling these build rules
*after* every other build rule affecting Sources, so you'd better not
have any source dependencies on the .adb file compilation results.
On 09/12/2003, at 12:20 PM, jim hopper wrote:
i was able to move my old project builder templates and projects to
xcode fine. however when i attempt to build a native target to compile
ada i get the following error:
"Dependency analysis: warning no rule to process 'main.adb'
i tried adding rules to build for source files that end in .adb and
build with gcc 3.1. the 3.1 driver is where we have our ada compiler
right now. i can build ada in xcode in non native targets so it is
recognizing ada, but the make rules seem to be barfing still on .adb
files. is there some way to add ada to the list. the
ProjectBuilderJambase file has entries in it for .adb and .ads that
were there from PB. also is there a way to get ada added to the list
of process rules like pascal and fortran??
thanks jim
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.