Creating a "Build All" target
Creating a "Build All" target
- Subject: Creating a "Build All" target
- From: email@hidden
- Date: Sat, 13 Feb 2010 03:17:36 +0000
I have two targets, one for x64-64 and for the other archs supported pre 10.6. I'd like to create a single target that builds them both instead of having to build each separately. I created a single target "Build All", and added both of the targets as dependencies. The problem I've run into is that I can't seem to tell XCode to use different build configurations for each target, so the build fails for one of the targets depending on which build configuration is set. I'm going through this developer doc at Apple:
http://developer.apple.com/Mac/library/documentation/DeveloperTools/Conceptual/XcodeBuildSystem/300-Build_Settings/bs_build_settings.html
hoping it will point in the right direction, if this is possible at all.
What I'm doing exactly is adding the ability for my app to add itself the user's Login Items. I need to support 10.4-10.6, so there are two ways to do this:
1) Use Apple Events for 10.4 and 10.5
2) Use the LSSharedFileList API for 10.6
My code has #ifndef...#else..#endifs for the different methods. I know 10.5 can use the LSSharedFileList as well, but I can isolate x86-64 in its own target this way. At some point, I'm going to drop support for pre 10.5, but I need to get out one more update before that happens.
I found one post in the XCode archives that explained what I've done so far, but I can't find anything to help with how to handle the configurations. If anyone can set me straight, I'd appreciate it.
Thanks
_______________________________________________
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