Last change
on this file since 720 was
642,
checked in by sam, 11 years ago
|
Add an optional cppunit dependency for unit tests.
|
File size:
431 bytes
|
Rev | Line | |
---|
[642] | 1 | |
---|
| 2 | AM_CPPFLAGS = -I$(top_srcdir)/src |
---|
| 3 | |
---|
| 4 | if USE_CPPUNIT |
---|
| 5 | cppunit_tests = lol-test |
---|
| 6 | endif |
---|
| 7 | |
---|
| 8 | noinst_PROGRAMS = $(cppunit_tests) |
---|
| 9 | |
---|
| 10 | TESTS = $(cppunit_tests) |
---|
| 11 | |
---|
| 12 | lol_test_SOURCES = lol-test.cpp matrix.cpp |
---|
| 13 | lol_test_CXXFLAGS = $(CPPUNIT_CFLAGS) |
---|
| 14 | lol_test_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ |
---|
| 15 | lol_test_LDADD = $(CPPUNIT_LIBS) |
---|
| 16 | lol_test_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@ |
---|
| 17 | lol_test_DEPENDENCIES = $(top_builddir)/src/liblol.a |
---|
| 18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.