This repository has been archived by the owner on Oct 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
/
track-o-bot.pro
117 lines (94 loc) · 3.06 KB
/
track-o-bot.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
TARGET = Track-o-Bot
VERSION = 0.9.0
CONFIG += qt precompile_header debug_and_release c++11
QT += core widgets network xml
DESTDIR = build
OBJECTS_DIR = tmp
MOC_DIR = tmp
RCC_DIR = tmp
UI_DIR = tmp
PRECOMPILED_HEADER = src/Local.h
HEADERS = src/Local.h \
src/ui/Window.h \
src/ui/SettingsTab.h \
src/ui/AccountTab.h \
src/ui/LogTab.h \
src/ui/AboutTab.h \
src/ui/Overlay.h \
src/Logger.h \
src/WebProfile.h \
src/HearthstoneLogWatcher.h \
src/HearthstoneLogTracker.h \
src/HearthstoneLogLineHandler.h \
src/HearthstoneCardDB.h \
src/Hearthstone.h \
src/MLP.h \
src/RankClassifier.h \
src/Settings.h \
src/ResultTracker.h \
src/ResultQueue.h \
src/Metadata.h \
src/Trackobot.h
SOURCES = src/Main.cpp \
src/Hearthstone.cpp \
src/WebProfile.cpp \
src/ui/Window.cpp \
src/ui/SettingsTab.cpp \
src/ui/AccountTab.cpp \
src/ui/LogTab.cpp \
src/ui/AboutTab.cpp \
src/ui/Overlay.cpp \
src/Logger.cpp \
src/Autostart.cpp \
src/HearthstoneLogWatcher.cpp \
src/HearthstoneLogTracker.cpp \
src/HearthstoneCardDB.cpp \
src/MLP.cpp \
src/RankClassifier.cpp \
src/Settings.cpp \
src/ResultTracker.cpp \
src/ResultQueue.cpp \
src/Local.cpp \
src/Metadata.cpp \
src/Trackobot.cpp
FORMS = src/ui/MainWindow.ui \
src/ui/SettingsWidget.ui \
src/ui/AccountWidget.ui \
src/ui/LogWidget.ui \
src/ui/AboutWidget.ui \
src/ui/Overlay.ui
DEFINES += VERSION=\\\"$$VERSION\\\"
RESOURCES += resources.qrc
CONFIG(debug, debug|release): DEFINES += _DEBUG
mac {
QT += macextras
DEFINES += PLATFORM=\\\"mac\\\"
HEADERS += src/OSXWindowCapture.h src/OSXLocal.h
SOURCES += src/OSXWindowCapture.cpp
# thanks qt for forcing me to do this stuff
INCLUDEPATH += "\ -F/Library/Frameworks"
LIBS += -framework ApplicationServices -F/Library/Frameworks -framework Sparkle -framework AppKit
OBJECTIVE_SOURCES += \
src/SparkleUpdater.mm \
src/CocoaInitializer.mm \
src/OSXLocal.mm
ICON = icons/logo.icns
CONFIG(release, debug|release) {
QMAKE_INFO_PLIST = Info.plist.app
QMAKE_POST_LINK += /usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $${VERSION}\" $${DESTDIR}/$${TARGET}.app/Contents/Info.plist;
QMAKE_POST_LINK += /usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $${VERSION}\" $${DESTDIR}/$${TARGET}.app/Contents/Info.plist;
}
}
win32 {
QT += winextras
CONFIG += embed_manifest_exe
DEFINES += PLATFORM=\\\"win32\\\"
INCLUDEPATH += . \
../WinSparkle/include
SOURCES += src/WinWindowCapture.cpp \
src/WinSparkleUpdater.cpp
DEFINES += _CRT_SECURE_NO_WARNINGS
LIBS += user32.lib Gdi32.lib shell32.lib version.lib
LIBS += -L../WinSparkle/Release
QMAKE_PRE_LINK = ruby dist/win/patch_rc.rb
}