-
Notifications
You must be signed in to change notification settings - Fork 7
/
Speed2048.pro
43 lines (36 loc) · 932 Bytes
/
Speed2048.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
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
QMAKE_CXXFLAGS -=
QMAKE_CXXFLAGS += -pthread -std=c++0x
QMAKE_LFLAGS -= -Wl,-O1,--sort-common,--as-needed,-z,relro
QMAKE_LFLAGS += -pthread
#QMAKE_CXXFLAGS_DEBUG += -O3 -march=native
#QMAKE_LFLAGS_DEBUG += -Wl,-O3 -O3 -march=native
QMAKE_CXXFLAGS_RELEASE -= -O2 -march=x86-64 -mtune=generic -fstack-protector --param=ssp-buffer-size=4
QMAKE_CXXFLAGS_RELEASE += -O3 -march=native -flto -fuse-linker-plugin -DNDEBUG
QMAKE_LFLAGS_RELEASE -= -Wl,-O1
QMAKE_LFLAGS_RELEASE += -Wl,-O3 -O3 -march=native -flto -fuse-linker-plugin
pg {
QMAKE_CFLAGS += -pg
QMAKE_CXXFLAGS += -pg
QMAKE_LFLAGS += -pg
}
SOURCES += \
main.cpp \
Board.cpp \
PerfTests.cpp \
ExpectiMax.cpp \
PlayTests.cpp \
BoardDB.cpp \
Analyze.cpp \
JS_Minimax.cpp
HEADERS += \
Board.h \
PerfTests.h \
ExpectiMax.h \
PlayTests.h \
RandomSeed.h \
BoardDB.h \
Analyze.h