Re: Default optimizations
Re: Default optimizations
- Subject: Re: Default optimizations
- From: Dario Accornero <email@hidden>
- Date: Tue, 28 Oct 2003 10:26:03 +0100
On 28 Oct 2003, at 2:33, Joshua Portway wrote:
There used to be a bug in XCode, which was there in the last version
and I think is still in there in 1.0, which caused xCode to lose its'
built pre-compiled headers when something changed in a framework that
your project depends on. Maybe you're hitting this one ? It's
irritating, but you can work around it by looking in the targets build
folder and removing the precompiled header from in there - when you
build again xcode will recreate it. A frustrating one.
I'm not sure this is the problem -- I only link against system
frameworks, unlikely to change between two builds...
I'm still not sure why you're building two targets (your debug and
release targets). If the only difference between the two targets is
different build settings (I'm presuming there aren't actually
different files in the debug and release targets), that's what
BuildStyles are for. You just build one target and set up debug and
release build styles to change those build settings.
I understand this is the preferred way of doing things in Xcode. I
just don't like it. I didn't use this technique in ProjectBuilder,
where I had perfectly valid targets with different build options but a
single build style (I don't need deployment features and my release
builds do contain symbols), and It Just Worked(tm). Furthermore, my
targets have different product names -- this is my employer's choice,
and I have to follow his directions.
I forgot to post my other message about setting up targets to do your
post-build script. It's really not complicated - you just make a new
target add your script build phase to it, then set it to be dependant
on your compilation target. Then when you want to do your build you
just select the script target and click build - it'll do your
compilation and then run your script.
This is definitely overkill. ProjectBuilder was "smart enough" to
execute the shell script phases in the order they were specified. Is
it really that difficult to implement in Xcode?
For the moment I'll just stick with imported targets.
Sigh,
Dario
_______________________________________________
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.