More little cleanup for C++

This commit is contained in:
Yevgen Muntyan 2008-08-18 17:40:58 -05:00
parent aeeb384ab8
commit a9c1f3080b
2 changed files with 7 additions and 3 deletions

View File

@ -9,6 +9,10 @@
<build_dir>build/debug</build_dir>
<configure>
<args>--enable-debug --enable-all-warnings --enable-project --enable-unit-tests --prefix=${PREFIX:-/usr/local}</args>
<vars>
<var name="CC">gcc-4.2</var>
<var name="CXX">g++-4.2</var>
</vars>
</configure>
</debug>
<gtk-2.6>

View File

@ -10,12 +10,12 @@ if MOO_ENABLE_UNIT_TESTS
TESTS = run-tests
endif
AM_CFLAGS = \
$(MOO_CFLAGS) \
$(MOO_DEBUG_CFLAGS)
AM_CFLAGS = $(MOO_CFLAGS)
AM_CXXFLAGS = $(MOO_CXXFLAGS)
if MOO_ENABLE_UNIT_TESTS
AM_CFLAGS += -DSRCDIR=\"$(shell cd $(srcdir) && pwd)\" -DTOP_SRCDIR=\"$(shell cd $(top_srcdir) && pwd)\"
AM_CXXFLAGS += -DSRCDIR=\"$(shell cd $(srcdir) && pwd)\" -DTOP_SRCDIR=\"$(shell cd $(top_srcdir) && pwd)\"
endif
noinst_PROGRAMS =