forked from bupticybee/TexasSolver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TexasSolverGui.pro
209 lines (191 loc) · 6 KB
/
TexasSolverGui.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
#-------------------------------------------------
#
# Project created by QtCreator 2021-09-18T11:22:44
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = TexasSolverGui
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
TRANSLATIONS = lang_cn.ts\
lang_en.ts
CONFIG += c++2a
macx: {
QMAKE_CXXFLAGS += -Xpreprocessor -fopenmp -lomp -I/usr/local/include
}
macx: {
QMAKE_LFLAGS += -lomp
}
macx: {
LIBS += -L /usr/local/lib /usr/local/lib/libomp.dylib
ICON = imgs/texassolver_logo.icns
}
win32: {
QMAKE_CXXFLAGS+= -openmp
QMAKE_LFLAGS += -openmp
RC_ICONS = imgs/texassolver_logo.ico
}
win64: {
QMAKE_CXXFLAGS+= -openmp
QMAKE_LFLAGS += -openmp
RC_ICONS = imgs/texassolver_logo.ico
}
linux: {
QMAKE_CXXFLAGS += -fopenmp
QMAKE_LFLAGS += -fopenmp
}
QMAKE_CXXFLAGS_RELEASE *= -O2
QMAKE_LFLAGS += -v
SOURCES += \
main.cpp \
mainwindow.cpp \
src/Deck.cpp \
src/Card.cpp \
src/card_format.cpp \
# src/console.cpp \
src/GameTree.cpp \
src/library.cpp \
src/compairer/Dic5Compairer.cpp \
src/experimental/TCfrSolver.cpp \
src/nodes/ActionNode.cpp \
src/nodes/ChanceNode.cpp \
src/nodes/GameActions.cpp \
src/nodes/GameTreeNode.cpp \
src/nodes/ShowdownNode.cpp \
src/nodes/TerminalNode.cpp \
src/pybind/bindSolver.cpp \
src/ranges/PrivateCards.cpp \
src/ranges/PrivateCardsManager.cpp \
src/ranges/RiverCombs.cpp \
src/ranges/RiverRangeManager.cpp \
src/runtime/PokerSolver.cpp \
src/solver/BestResponse.cpp \
src/solver/CfrSolver.cpp \
src/solver/PCfrSolver.cpp \
src/solver/Solver.cpp \
src/solver/slice_cfr.cpp \
src/tools/CommandLineTool.cpp \
src/tools/GameTreeBuildingSettings.cpp \
src/tools/lookup8.cpp \
src/tools/PrivateRangeConverter.cpp \
src/tools/progressbar.cpp \
src/tools/Rule.cpp \
src/tools/StreetSetting.cpp \
src/tools/utils.cpp \
src/tools/logger.cpp \
src/trainable/CfrPlusTrainable.cpp \
src/trainable/DiscountedCfrTrainable.cpp \
src/trainable/DiscountedCfrTrainableHF.cpp \
src/trainable/DiscountedCfrTrainableSF.cpp \
src/trainable/Trainable.cpp \
src/runtime/qsolverjob.cpp \
qstextedit.cpp \
strategyexplorer.cpp \
qstreeview.cpp \
src/ui/treeitem.cpp \
src/ui/treemodel.cpp \
htmltableview.cpp \
src/ui/worditemdelegate.cpp \
src/ui/tablestrategymodel.cpp \
src/ui/strategyitemdelegate.cpp \
src/ui/detailwindowsetting.cpp \
src/ui/detailviewermodel.cpp \
src/ui/detailitemdelegate.cpp \
src/ui/roughstrategyviewermodel.cpp \
src/ui/roughstrategyitemdelegate.cpp \
src/ui/droptextedit.cpp \
src/ui/htmltablerangeview.cpp \
rangeselector.cpp \
src/ui/rangeselectortablemodel.cpp \
src/ui/rangeselectortabledelegate.cpp \
boardselector.cpp \
src/ui/boardselectortablemodel.cpp \
src/ui/boardselectortabledelegate.cpp \
settingeditor.cpp
HEADERS += \
include/tools/half-1-12-0.h \
include/trainable/DiscountedCfrTrainableHF.h \
include/trainable/DiscountedCfrTrainableSF.h \
mainwindow.h \
include/Card.h \
include/card_format.h \
include/GameTree.h \
include/Deck.h \
include/json.hpp \
include/library.h \
include/solver/PCfrSolver.h \
include/solver/Solver.h \
include/solver/BestResponse.h \
include/solver/CfrSolver.h \
include/solver/slice_cfr.h \
include/tools/argparse.hpp \
include/tools/CommandLineTool.h \
include/tools/utils.h \
include/tools/GameTreeBuildingSettings.h \
include/tools/Rule.h \
include/tools/StreetSetting.h \
include/tools/lookup8.h \
include/tools/PrivateRangeConverter.h \
include/tools/progressbar.h \
include/runtime/PokerSolver.h \
include/trainable/CfrPlusTrainable.h \
include/trainable/DiscountedCfrTrainable.h \
include/trainable/Trainable.h \
include/compairer/Compairer.h \
include/compairer/Dic5Compairer.h \
include/experimental/TCfrSolver.h \
include/nodes/ActionNode.h \
include/nodes/ChanceNode.h \
include/nodes/GameActions.h \
include/nodes/GameTreeNode.h \
include/nodes/ShowdownNode.h \
include/nodes/TerminalNode.h \
include/ranges/PrivateCards.h \
include/ranges/PrivateCardsManager.h \
include/ranges/RiverCombs.h \
include/ranges/RiverRangeManager.h \
include/tools/tinyformat.h \
include/tools/logger.h \
include/tools/qdebugstream.h \
include/runtime/qsolverjob.h \
qstextedit.h \
strategyexplorer.h \
qstreeview.h \
include/ui/treeitem.h \
include/ui/treemodel.h \
htmltableview.h \
include/ui/worditemdelegate.h \
include/ui/tablestrategymodel.h \
include/ui/strategyitemdelegate.h \
include/ui/detailwindowsetting.h \
include/ui/detailviewermodel.h \
include/ui/detailitemdelegate.h \
include/ui/roughstrategyviewermodel.h \
include/ui/roughstrategyitemdelegate.h \
include/ui/droptextedit.h \
include/ui/htmltablerangeview.h \
rangeselector.h \
include/ui/rangeselectortablemodel.h \
include/ui/rangeselectortabledelegate.h \
boardselector.h \
include/ui/boardselectortablemodel.h \
include/ui/boardselectortabledelegate.h \
settingeditor.h
FORMS += \
mainwindow.ui \
strategyexplorer.ui \
rangeselector.ui \
boardselector.ui \
settingeditor.ui
RESOURCES += \
translations.qrc \
compairer.qrc