1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 15:54:57 +00:00
transmission/tests/gtest/Makefile.am
Charles Kerr 677dc73eac
refactor: use GTest for running tests (#1383)
* refactor: use google-test on libtransmission tests
2020-08-11 13:11:55 -05:00

30 lines
638 B
Makefile

check_LTLIBRARIES = \
libgtest.la \
libgtest_main.la
GTEST_DIR = $(top_srcdir)/third-party/googletest
GOOGLE_TEST_INCLUDES = \
-I$(top_srcdir)/third-party/googletest/googletest/include \
-I$(top_srcdir)/third-party/googletest/googletest
libgtest_la_SOURCES = \
$(GTEST_DIR)/googletest/src/gtest-all.cc
libgtest_la_LDFLAGS = \
-pthread
libgtest_la_CPPFLAGS = \
$(GOOGLE_TEST_INCLUDES)
libgtest_main_la_SOURCES = \
$(GTEST_DIR)/googletest/src/gtest_main.cc
libgtest_main_la_CPPFLAGS = \
$(GOOGLE_TEST_INCLUDES)
libgtest_main_la_LIBADD = \
$(top_builddir)/tests/gtest/libgtest.la
EXTRA_DIST = \
CMakeLists.txt