| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I tried this: LIBRARY_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/"$(APPLICATION_NAME)".app/Contents/Frameworks $(SDKROOT)/usr/lib but after closing the project and reopening it, it comes out like this: LIBRARY_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/$(APPLICATION_NAME).app/Contents/Frameworks $(SDKROOT)/usr/lib Note that different arrangements of the quotes are still removed after closing the project. APPLICATION_NAME was set to "SuperLab 4", like so: APPLICATION_NAME = SuperLab 4 Therefore, $(APPLICATION_NAME) needs quotes around it, otherwise the internal space causes the library search path to be split where it shouldn't. Currently, it's set up this way: APPLICATION_NAME = SuperLab\ 4 This compiles and links correctly, but I have to have a second copy of this variable that does not have the space escaped for use with scripts and actual build product names. I have it set up this way because there are many different targets that need to know the name of the one application. This allows easily changing the application name in one location... or two... but that's still better than a dozen or more that I might miss. Thanks, Hank Schultz Cedrus Corporation On Nov 11, 2005, at 1:55 PM, Chris Espinosa wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden This email sent to email@hidden
| References: | |
| >Xcode 2.2 is now available [Part 2] (From: Chris Espinosa <email@hidden>) | |
| >Re: Xcode 2.2 is now available [Part 2] (From: "William H. Schultz" <email@hidden>) | |
| >Re: Xcode 2.2 is now available [Part 2] (From: Chris Espinosa <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.