mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-30 22:23:40 +01:00
bc9bc15b6a
tests, but will not run them. --with-tests=no to manually disable. Tests are automatically disabled if cross-compiling.
24 lines
653 B
Makefile
Executable file
24 lines
653 B
Makefile
Executable file
|
|
check_PROGRAMS = xslt_test
|
|
if WANT_TESTS
|
|
TESTS = $(check_PROGRAMS)
|
|
endif
|
|
|
|
ELEPHANT_INCLUDE = @ELEPHANT_INCLUDES@
|
|
LIBELEPHANT = @ELEPHANT_LIBS@
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include @PARSER_HEADERS@ @BOOST_CPPFLAGS@ $(ELEPHANT_INCLUDE)
|
|
LIBARABICA = $(top_builddir)/src/libarabica.la
|
|
LIBSILLY = ../CppUnit/libsillystring.la
|
|
TESTLIBS = $(LIBARABICA) ../CppUnit/libcppunit.la
|
|
|
|
test_sources = scope_test.hpp \
|
|
xslt_test.hpp \
|
|
xslt_test.cpp
|
|
|
|
|
|
xslt_test_SOURCES = main.cpp \
|
|
$(test_sources)
|
|
xslt_test_LDADD = $(TESTLIBS) $(LIBELEPHANT)
|
|
xslt_test_DEPENDENCIES = $(TESTLIBS)
|
|
|