gtest: Use system gtest and pthread libs
* Rip out the gtest built in here. Use the system library. * Test against gtest-1.7.0-1 on Arch Linux * Add the missing -lpthread library
This commit is contained in:
parent
36348a2375
commit
9fe7167920
2 changed files with 2 additions and 9595 deletions
4
Makefile
4
Makefile
|
|
@ -24,5 +24,5 @@ test: capn-test
|
|||
%-test.o: %-test.cpp *.h *.c *.inc
|
||||
$(CXX) -g -Wall -Werror -I. $(GTEST_CFLAGS) -o $@ -c $<
|
||||
|
||||
capn-test: capn-test.o capn-stream-test.o compiler/test.capnp.o compiler/schema-test.o compiler/schema.capnp.o gtest-all-test.o
|
||||
$(CXX) -g -Wall -Werror -I. -o $@ $^
|
||||
capn-test: capn-test.o capn-stream-test.o compiler/test.capnp.o compiler/schema-test.o compiler/schema.capnp.o
|
||||
$(CXX) -g -Wall -Werror -I. -lpthread -lgtest -o $@ $^
|
||||
|
|
|
|||
9593
gtest-all-test.cpp
9593
gtest-all-test.cpp
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue