Sanmill/millgame.pro

117 lines
2.5 KiB
Prolog
Raw Normal View History

2019-09-04 22:53:41 +08:00
#-------------------------------------------------
#
# Project created by QtCreator 2015-11-03T22:30:34
#
#-------------------------------------------------
QT += core gui \
multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = MillGame
TEMPLATE = app
CONFIG += warn_off
CONFIG += console
2019-09-04 22:53:41 +08:00
INCLUDEPATH += include
INCLUDEPATH += src/base
INCLUDEPATH += src/ai
INCLUDEPATH += src/game
INCLUDEPATH += src/ui/qt
SOURCES += \
src/ai/endgame.cpp \
src/ai/evaluate.cpp \
src/ai/movegen.cpp \
src/ai/tt.cpp \
src/base/misc.cpp \
src/base/zobrist.cpp \
src/game/board.cpp \
2019-09-28 23:44:37 +08:00
src/game/location.cpp \
src/game/option.cpp \
src/game/player.cpp \
src/game/position.cpp \
src/game/rule.cpp \
2019-09-04 22:53:41 +08:00
src/main.cpp \
src/base/thread.cpp \
src/ai/search.cpp \
src/ui/qt/gamewindow.cpp \
src/ui/qt/pieceitem.cpp \
src/ui/qt/server.cpp \
src/ui/qt/boarditem.cpp \
src/ui/qt/gamecontroller.cpp \
src/ui/qt/gamescene.cpp \
src/ui/qt/gameview.cpp \
src/ui/qt/client.cpp
HEADERS += \
include/config.h \
include/version.h \
include/version.h.template \
src/ai/endgame.h \
src/ai/evaluate.h \
src/ai/movegen.h \
src/ai/tt.h \
2019-09-04 22:53:41 +08:00
src/base/HashNode.h \
src/base/debug.h \
2019-09-04 22:53:41 +08:00
src/base/hashMap.h \
src/base/MemoryPool.h \
src/base/MemoryPool.tcc \
src/base/misc.h \
src/base/stack.h \
2019-09-04 22:53:41 +08:00
src/base/stackalloc.h \
src/base/thread.h \
src/ai/search.h \
src/base/zobrist.h \
src/game/board.h \
2019-09-28 23:44:37 +08:00
src/game/location.h \
src/game/option.h \
src/game/player.h \
src/game/position.h \
src/game/rule.h \
src/game/types.h \
2019-09-04 22:53:41 +08:00
src/ui/qt/client.h \
src/ui/qt/gamecontroller.h \
src/ui/qt/gamescene.h \
src/ui/qt/gameview.h \
src/ui/qt/gamewindow.h \
src/ui/qt/graphicsconst.h \
src/ui/qt/pieceitem.h \
src/ui/qt/manuallistview.h \
src/ui/qt/server.h \
src/ui/qt/boarditem.h
FORMS += \
gamewindow.ui
RESOURCES += \
gamewindow.qrc
DISTFILES += \
MillGame.rc \
version.sh
RC_FILE += millgame.rc
# Mobile App support
#DEFINES += MOBILE_APP_UI
# With C++17 support
greaterThan(QT_MAJOR_VERSION, 4) {
CONFIG += c++17
#QMAKE_CXXFLAGS += -O0 -g3 -fsanitize=leak -fno-omit-frame-pointer
#QMAKE_LFLAGS += -fsanitize=leak
} else {
QMAKE_CXXFLAGS += -std=c++0x
}
2019-09-05 23:43:49 +08:00
*msvc* {
QMAKE_CXXFLAGS += /MP
}
android {
QMAKE_LFLAGS += -nostdlib++
}