build exceptionhandling-example only if stacktrace is given; refs #7
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user