Re: [Q] Dev vs. Deployment builds
Re: [Q] Dev vs. Deployment builds
- Subject: Re: [Q] Dev vs. Deployment builds
- From: Charles Jolley <email@hidden>
- Date: Tue, 11 Jun 2002 20:46:35 -0500
Mark:
From Project Builder with its default settings, the only way to do it
would be to use multiple targets.
If you are wanting to just strip out the debugging symbols, take a look
at the "strip" command (go to the Terminal, type "man strip"). You
could add a shell script build phase (Project->New Build Phase) and add
a shell script to execute the strip command on the binary after it has
been generated.
-C
On Monday, June 10, 2002, at 03:24 PM, Mark de Jong wrote:
Is there a simple way in PB to have both a dev and a deploy target so
that I can jump from one to another without cleaning the targets
between builds?
I'd like to have both a development build and a deployment build
available at the same time. I thought I could do that via build styles,
but if I've built a debug version and then switch styles to deployment,
the final executable is still 4+ MB in size, where it should only be
800-900K.
Is there something I can add to the build style that strips out all the
debugging stuff?
Here are my deployment style settings:
COPY_PHASE_STRIP = YES
DEBUGGING_SYMBOLS = NO
OPTIMIZATION_CFLAGS = -O3
and here are my development style settings:
COPY_PHASE_STRIP = NO
DEBUGGING_SYMBOLS = YES
OPTIMIZATION_CFLAGS = -O0
Thanks, in advance, for any suggestions you can offer.
-- Mark
_______________________________________________
MacOSX-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/macosx-dev
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.