mirror of
https://github.com/transmission/transmission
synced 2024-12-22 15:54:57 +00:00
677dc73eac
* refactor: use google-test on libtransmission tests
30 lines
638 B
Makefile
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
|