blob: 7b59f54559119898fcd88f916d77c91a000d764e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
check_LIBRARIES = libgtest.a
check_PROGRAMS = test-gtest
TESTS =
AM_CPPFLAGS = $(GTEST_CPPFLAGS)
nodist_libgtest_a_SOURCES = $(GTEST_SOURCE)/src/gtest-all.cc
libgtest_a_SOURCES = \
$(GTEST_SOURCE)/src/gtest-all.cc \
$(GTEST_SOURCE)/src/gtest_main.cc
libgtest_a_CPPFLAGS = \
$(GTEST_CPPFLAGS) -w
libgtest_a_CXXFLAGS = \
$(AM_CXXFLAGS)
TESTS += test-gtest
test_gtest_SOURCES = \
test-gtest.cpp
test_gtest_CPPFLAGS = \
$(APPLET_CFLAGS) \
-I$(top_srcdir)/src
test_gtest_LDFLAGS = -pthread
test_gtest_LDADD = \
$(APPLET_LIBS) \
libgtest.a
|