forked from stevschmid/track-o-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.pro
42 lines (32 loc) · 1.03 KB
/
test.pro
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
include(track-o-bot.pro)
CONFIG += console
CONFIG -= app_bundle
TARGET = test
TEMPLATE = app
DEFINES += _TEST
GMOCKPATH = ../gmock-1.7.0
GTESTPATH = ../gmock-1.7.0/gtest
INCLUDEPATH += src \
test \
$$GTESTPATH \
$$GTESTPATH/include \
$$GMOCKPATH \
$$GMOCKPATH/include
# Ignore forever definition of Qt (otherwise clash with gtest)
DEFINES += "forever=forever"
GMOCK_HEADERS = $$GMOCKPATH/include/gmock/*.h \
$$GMOCKPATH/include/gmock/internal/*.h
GTEST_HEADERS = $$GTESTPATH/include/gtest/*.h \
$$GTESTPATH/include/gtest/internal/*.h
HEADERS = $$GTEST_HEADERS \
$$GMOCK_HEADERS \
src/Local.h \
src/OSXWindowCapture.h \
src/Logger.h
SOURCES = $$GMOCKPATH/src/gmock-all.cc \
$$GTESTPATH/src/gtest-all.cc \
$$GMOCKPATH/src/gmock_main.cc \
test/*Test.cpp \
src/OSXWindowCapture.cpp \
src/Hearthstone.cpp \
src/Logger.cpp