xcode 1.5 build rules with script and intermediate files..
xcode 1.5 build rules with script and intermediate files..
- Subject: xcode 1.5 build rules with script and intermediate files..
- From: "Dr. Andres Kruse" <email@hidden>
- Date: Mon, 28 Mar 2005 14:46:04 +0100
- Importance: Normal
Hi,
hopefully somebody here could point me into the right direction... the
problem is with Xcode 1.5 (November 2004 gcc update) on Panther. Both my
PowerMac G5 and my PowerBook G4 show this problem. Latest O/S.
I'm experiencing some serious problems when trying to use build rules that
are scripts.
In my project (which uses Qt/Mac) I have a number of files "*.ui" and "*.h"
which need to be parsed first by some external tools and for which c++
source files are generated. According to the documentation this should be
easy: add the files to the "Sources" in the target, then create some script
rules (one for the *.ui and one for the *.h files, adding the output files
to the rules). Xcode will then take care of adding the output files into the
build, so the c++ source files would then be compiled.
Now, when I build, it all seems to work at first, that is, some of the files
are actually processed correctly. However, at some point the build stops and
the log shows that Xcode seems to want to compile an intermediate c++ source
file that has not actually been generated yet. The strange thing is that
sometimes I seem to be able to "fix" this by moving the file in the
"Sources" section further down the list. Sometimes when I try to move the
file I cannot actually drop it between certain source files, the
corresponding "0-----" doesn't appear when I do a drag and drop (don't know
if this matters). I would be happy to leave it at that if it weren't for a
few files that I cannot "fix".. In addition it seems that some files get
recompiled over and over, I checked the modification dates and they
shouldn't...
I have looked at the files that do work and the ones that don't and tried to
establish a pattern that might give me another clue, but there simply isn't.
I have also done clean, removed the "build" folder, quit Xcode, rebooted the
machine to no avail.
Has anybody else seen such a problem? My project has about 30 .ui files and
about 60 .h files that need to be preprocessed.
Thanks for any help and advice you might have including "forget it, wait for
Xcode 2.0"...
Andres
_______________________________________________
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