Re: C Assert in BSD Static Library
Re: C Assert in BSD Static Library
- Subject: Re: C Assert in BSD Static Library
- From: Scott Ribe <email@hidden>
- Date: Tue, 23 Jun 2015 11:30:08 -0600
On Jun 23, 2015, at 11:14 AM, Raglan T. Tiger <email@hidden> wrote:
>
> Are these set in the Library project or the App project that links to them?
It'll have to be the library; the app project has no influence over what is compiled into the library.
As a guess, you might want to define NDEBUG=1. That is *very* common practice for release builds on many platforms, but IIRC Xcode doesn't include that in default templates.
But of course, you should probably actually look into these asserts and see how they're defined. I think the standard-lib assert is turned off by NDEBUG, but people build up all sorts of ASSERT macros of their own, with all sorts of config options...
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden