mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-25 21:58:21 +01:00
add wide test to Makefile.am
This commit is contained in:
parent
bf8e7e314b
commit
f837aa99e1
1 changed files with 31 additions and 25 deletions
|
@ -1,25 +1,31 @@
|
|||
|
||||
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
|
||||
SYSLIBS = @PARSER_LIBS@
|
||||
|
||||
test_sources = scope_test.hpp \
|
||||
xslt_test.hpp \
|
||||
xslt_test.cpp
|
||||
|
||||
|
||||
xslt_test_SOURCES = main.cpp \
|
||||
$(test_sources)
|
||||
xslt_test_LDADD = $(TESTLIBS) $(LIBELEPHANT) $(SYSLIBS)
|
||||
xslt_test_DEPENDENCIES = $(TESTLIBS)
|
||||
|
||||
|
||||
check_PROGRAMS = xslt_test
|
||||
if HAS_STD_WSTRING
|
||||
check_PROGRAMS += xslt_test_wide
|
||||
endif
|
||||
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
|
||||
SYSLIBS = @PARSER_LIBS@
|
||||
|
||||
test_sources = scope_test.hpp \
|
||||
xslt_test.hpp
|
||||
|
||||
xslt_test_SOURCES = main.cpp \
|
||||
$(test_sources)
|
||||
xslt_test_LDADD = $(TESTLIBS) $(LIBELEPHANT) $(SYSLIBS)
|
||||
xslt_test_DEPENDENCIES = $(TESTLIBS)
|
||||
|
||||
xslt_test_wide_SOURCES = main_wide.cpp \
|
||||
$(test_sources)
|
||||
xslt_test_wide_LDADD = $(TESTLIBS) $(LIBELEPHANT) $(SYSLIBS)
|
||||
xslt_test_wide_DEPENDENCIES = $(TESTLIBS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue