• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Q] Dev vs. Deployment builds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >[Q] Dev vs. Deployment builds (From: Mark de Jong <email@hidden>)

  • Prev by Date: Re: [ANN] UAC 1.0
  • Next by Date: Re: Thoughts on CodeWarrior 8 for Cocoa programming?
  • Previous by thread: [Q] Dev vs. Deployment builds
  • Next by thread: Re: [Q] Dev vs. Deployment builds
  • Index(es):
    • Date
    • Thread