build exceptionhandling-example only if stacktrace is given; refs #7

master
Marc Wäckerlin 11 years ago
parent 7cd37fbec7
commit fbd3a59c1f
  1. 7
      doc/examples/makefile.am

@ -4,15 +4,20 @@
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
exampledir = ${docdir}/examples
example_PROGRAMS = exceptionhandling smartpointer arguments
example_PROGRAMS = smartpointer arguments
if HAVE_STACKTRACE
example_PROGRAMS += exceptionhandling
endif
example_DATA = ${smartpointer_SOURCES} ${exceptionhandling_SOURCES} \
${arguments_SOURCES}
CPPFLAGS = -I${top_srcdir}/src
LDFLAGS = -L${top_builddir}/src
if HAVE_STACKTRACE
exceptionhandling_SOURCES = exceptionhandling.cxx
exceptionhandling_LDADD = ${top_builddir}/src/.libs/libmrw.la
endif
smartpointer_SOURCES = smartpointer.cxx
smartpointer_LDADD = ${top_builddir}/src/.libs/libmrw.la

Loading…
Cancel
Save