Project dependencies - will they work as expected one day?
Project dependencies - will they work as expected one day?
- Subject: Project dependencies - will they work as expected one day?
- From: Sebastien Metrot <email@hidden>
- Date: Fri, 16 Sep 2005 17:18:43 +0200
Hi,
We use XCode daily for 90% of our projects. Most of the products we
build are based on many diferent software modules that may depend on
other modules and so on. Each module has been turned into an XCode
project. Most of those modules are static libraries, while the final
products are Dynamic libs or carbon applications bundles.
Say I have three modules, A, B and C with B depending on A and C
depending on B. A and B are stattic libraries and C is an application.
If I build C from scratch xcode will build A and B and link them
correctly, no problem. But if I change on source file in A and build B I
see two behaviours that tells me XCode is not working as it should:
- first XCode NEVER propose me to save the source code file I just
edited, even though I have set the Building/"For unsaved files" option
to "Ask Before Building". I tried to change that to "Always save" but
XCode just doesn't save any file that isn't in the current project, even
if there is an other project open to which that file belongs. This is
VERY annoying as this kind of situation happens *all the time* when
we're debuging the final application and we need to fix a bug in a
dependent library.
- If I save the file from project A that I just modified and build C
again, it will rebuild A and C but B will never be relinked to A so C
will ocntinue to use the old A and B libs! I have to manually remove the
B lib from the HD or do a Clean/Rebuild all to have my changes taken
into account in the application project. Of course the whole XCode build
system and tools being very slow compared to CW and MSVC, having to
suffer a full rebuild of the app really feels like a life sentence.
I can not stress enough how much time we lose every day to work around
these problems. I'm again sorry to have to say that but Codewarrior and
MSVC do not have those build system problems at all!
Are there ways to overcome those XCode problems? Is there some special
setting we overlooked? Is anybody else having the same kind of problems
and managed not to become mad yet?
Thanks a lot for your input!
--
Sebastien Metrot
Lead Dev.
http://www.usbsounds.com
_______________________________________________
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