Skip to content

Commit 9bba8bb

Browse files
committed
Merge remote-tracking branch 'origin/master' into view_dev_cards
2 parents 96124fc + d718c75 commit 9bba8bb

File tree

99 files changed

+901
-6695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+901
-6695
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ language: cpp
22
before_install:
33
- sudo add-apt-repository ppa:antumdeluge/sdl2 -y
44
- sudo apt-get update -y
5+
- sudo apt-get install libgtest-dev
6+
- cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libg* /usr/lib/ && cd $TRAVIS_BUILD_DIR
57
- sudo apt-get install libsdl2 libsdl2-dev libsdl2-ttf libsdl2-ttf-dev -y
6-
script: make tests
8+
script: make tests

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export OBJ_HOME := $(realpath obj)
22
export SRC_HOME := $(realpath src)
33
export INCL_HOME := $(realpath include)
4-
export TEST_LINK_FILES := $(realpath UnitTest++)/libUnitTest++.a
5-
export TEST_INCLUDE := $(realpath UnitTest++/src)
4+
export TEST_LINK_FILES := -lgtest -lgtest_main
5+
export TEST_INCLUDE :=
66
export EXECUTABLE := warsofcatan
77
ALLFILES := $(wildcard $(SRC_HOME)/*) $(wildcard $(INCL_HOME)/*)
88
export CXX := g++
@@ -19,7 +19,6 @@ $(EXECUTABLE): $(ALLFILES)
1919

2020
.PHONY: tests
2121
tests: $(EXECUTABLE)
22-
cd UnitTest++ && $(MAKE) libUnitTest++.a
2322
cd tests && $(MAKE)
2423

2524
.PHONY: clean

UnitTest++/COPYING

Lines changed: 0 additions & 20 deletions
This file was deleted.

UnitTest++/Makefile

Lines changed: 0 additions & 96 deletions
This file was deleted.

UnitTest++/README

Lines changed: 0 additions & 68 deletions
This file was deleted.

UnitTest++/TestUnitTest++.vsnet2003.vcproj

Lines changed: 0 additions & 174 deletions
This file was deleted.

0 commit comments

Comments
 (0)