Build Styles???
Build Styles???
- Subject: Build Styles???
- From: Randy Croucher <email@hidden>
- Date: Mon, 10 Nov 2003 17:13:00 -0800
Hello,
I must not be understanding something here? There are two default
"Build Styles" set up in Xcode: Development and Deployment. Switching
between these does not change where the compiler puts intermediate
files, nor does it change the output file name or path. I am trying to
make heads or tails out of all of these default path names
(BUILT_PRODUCTS_DIR, SRCROOT, INSTALL_PATH, etc...), and trying to tell
which one(s) need set differently between build styles. I can't help
but thinking I must not understand something. Why wouldn't this happen
as the default?
The way it is set up, I could clean and build my app using the
"Deployment" build style, then switch to "Development", change one
file, and that would be the only one with debug in it. Not a bad
option, but not what I would assume to be the default. I shouldn't
have to clean every time I switch build styles. Right?
I've tried a half dozen different approaches, one that appends a 'd' on
the end of the product names (PRODUCT_NAME=$(value)d). One that sets
the symbols root differently on each style (SYMROOT=$(value)/Debug or
SYMROOT=$(value)/Release). Neither one worked great and had different
problems with each.
How is this supposed to be done?
Randy Croucher
P.S. On another note, I think it would be much more powerful if Target
settings came after Build Style settings (which come after Default
settings). This would allow most targets to use the defaults from the
build style and below, but some to override it or expand upon it. I
don't believe you would lose any functionality. To allow for backward
compatibility, it could be a setting on the build style whether to
apply before or after target settings, or have the build styles have
pre AND post target settings.
_______________________________________________
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.