Re: [gtkmm] Compilation time
- From: Ole Laursen <olau hardworking dk>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] Compilation time
- Date: 21 Sep 2002 21:22:48 +0200
Daniel Elstner <daniel elstner gmx net> writes:
> 2) don't use -O2 for devel builds
I've been wondering - how to do this cleanly with Automake so that
the optimizations are only turned off for developer builds? Currently
I simply do something like this:
CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) -Wall -O0
But I'm sure I'll forget to remove the -O0 (minus oh zero) when I'm
ready to release. :-)
--
Ole Laursen
http://sunsite.dk/olau/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]