diff options
author | Cory Fields <theuni-nospam-@xbmc.org> | 2013-05-27 19:55:01 -0400 |
---|---|---|
committer | Cory Fields <theuni-nospam-@xbmc.org> | 2013-09-05 21:31:03 -0400 |
commit | 35b8af92265ed74de63c3818e5290c27b3f35df2 (patch) | |
tree | 7cd074e2ba31ca9346d69922e312ebd3e7298711 /src/qt/test | |
parent | 2fee100f036626866e5dca3f27b7562da25e43f3 (diff) |
autotools: switch to autotools buildsystem
Diffstat (limited to 'src/qt/test')
-rw-r--r-- | src/qt/test/Makefile.am | 26 | ||||
-rw-r--r-- | src/qt/test/paymentservertests.cpp | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/src/qt/test/Makefile.am b/src/qt/test/Makefile.am new file mode 100644 index 0000000000..f51ac9bd6d --- /dev/null +++ b/src/qt/test/Makefile.am @@ -0,0 +1,26 @@ +include $(top_srcdir)/src/Makefile.include + +AM_CPPFLAGS = $(INCLUDES) -I$(top_builddir)/src/obj \ + -I$(top_srcdir)/src/leveldb/include -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/leveldb/helpers -I$(top_srcdir)/src/qt \ + -I$(top_builddir)/src/qt $(BOOST_INCLUDES) $(PROTOBUF_CFLAGS) \ + $(QR_CFLAGS) +AM_LDFLAGS = $(PTHREAD_CFLAGS) +bin_PROGRAMS = test_bitcoin-qt +TESTS = test_bitcoin-qt + +TEST_QT_MOC_CPP = moc_uritests.cpp moc_paymentservertests.cpp + +TEST_QT_H = uritests.h paymentservertests.h paymentrequestdata.h + +BUILT_SOURCES = $(TEST_QT_MOC_CPP) + +test_bitcoin_qt_CPPFLAGS = $(AM_CPPFLAGS) $(QT_INCLUDES) $(QT_TEST_INCLUDES) +test_bitcoin_qt_SOURCES = test_main.cpp uritests.cpp paymentservertests.cpp $(TEST_QT_H) +nodist_test_bitcoin_qt_SOURCES = $(TEST_QT_MOC_CPP) +test_bitcoin_qt_LDADD = $(LIBBITCOINQT) $(LIBBITCOIN) $(LIBLEVELDB) \ + $(LIBMEMENV) $(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) \ + $(QR_LIBS) $(PROTOBUF_LIBS) + +CLEANFILES = $(BUILT_SOURCES) *.gcda *.gcno + diff --git a/src/qt/test/paymentservertests.cpp b/src/qt/test/paymentservertests.cpp index 6c8ad62b2b..34079e94ff 100644 --- a/src/qt/test/paymentservertests.cpp +++ b/src/qt/test/paymentservertests.cpp @@ -2,6 +2,7 @@ #include <QDebug> #include <QTemporaryFile> #include <QVariant> +#include <QFileOpenEvent> #include <openssl/x509.h> #include <openssl/x509_vfy.h> |