autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C++, assert and NDEBUG


From: Steve Searle
Subject: C++, assert and NDEBUG
Date: Sat, 27 Mar 2010 15:03:25 +0000
User-agent: Mutt/1.4.2.3i

I have started using autotools for the C++ applications I create (very
much as an amateur). I typically use assert statements during
development, and would disable these by using -DNDEBUG when the release
version is built. How should I configure things so that when a user
installs from the tarball they compile by default with the -DNDEBUG
option?

Thanks

Steve

-- 
 
(o<     www.stevesearle.com
//\     Powered by Fedora
V_/_    No MS products were used in the creation of this message

 14:59:49 up 7 days,  3:04,  1 user,  load average: 0.08, 0.07, 0.02

Attachment: pgpK0iyXB5Lrf.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]