-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgtest.mk
executable file
·48 lines (42 loc) · 2.03 KB
/
gtest.mk
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
##############################
# Gtest build.
##############################
# Build rules for libraries.
check_LTLIBRARIES = libgtest.la libgtest_main.la
libgtest_la_SOURCES = unit_tests/gtest/src/gtest-all.cc
libgtest_main_la_SOURCES = unit_tests/gtest/src/gtest_main.cc
libgtest_main_la_LIBADD = libgtest.la
libgtest_la_CXXFLAGS = -I$(top_srcdir)/unit_tests/gtest \
-I$(top_srcdir)/unit_tests/gtest/include
libgtest_main_la_CXXFLAGS = -I$(top_srcdir)/unit_tests/gtest \
-I$(top_srcdir)/unit_tests/gtest/include
# gtest source files that we don't compile directly. They are
# #included by gtest-all.cc.
GTEST_SRC = unit_tests/gtest/src/gtest-death-test.cc \
unit_tests/gtest/src/gtest-filepath.cc \
unit_tests/gtest/src/gtest-internal-inl.h \
unit_tests/gtest/src/gtest-port.cc \
unit_tests/gtest/src/gtest-printers.cc \
unit_tests/gtest/src/gtest-test-part.cc \
unit_tests/gtest/src/gtest-typed-test.cc \
unit_tests/gtest/src/gtest.cc
EXTRA_DIST += $(GTEST_SRC)
# Headers, not installed
GTEST_I = unit_tests/gtest/include/gtest
noinst_HEADERS = $(GTEST_I)/gtest-death-test.h \
$(GTEST_I)/gtest-message.h \
$(GTEST_I)/gtest-param-test.h \
$(GTEST_I)/gtest-printers.h $(GTEST_I)/gtest-spi.h \
$(GTEST_I)/gtest-test-part.h \
$(GTEST_I)/gtest-typed-test.h $(GTEST_I)/gtest.h \
$(GTEST_I)/gtest_pred_impl.h $(GTEST_I)/gtest_prod.h \
$(GTEST_I)/internal/gtest-death-test-internal.h \
$(GTEST_I)/internal/gtest-filepath.h \
$(GTEST_I)/internal/gtest-internal.h \
$(GTEST_I)/internal/gtest-linked_ptr.h \
$(GTEST_I)/internal/gtest-param-util-generated.h \
$(GTEST_I)/internal/gtest-param-util.h \
$(GTEST_I)/internal/gtest-port.h \
$(GTEST_I)/internal/gtest-string.h \
$(GTEST_I)/internal/gtest-tuple.h \
$(GTEST_I)/internal/gtest-type-util.h