1 Star 0 Fork 5

miao123456miao-2/中国象棋

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ChineseChess.pro 2.34 KB
一键复制 编辑 原始数据 按行查看 历史
PikaCat 提交于 2022-04-07 16:03 . update ChineseChess.pro.
QT += core gui network # testlib
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QMAKE_CXXFLAGS += -std=gnu++2b -march=native -fopenmp
QMAKE_CXXFLAGS_RELEASE += -Ofast -flto
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked 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 it uses 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
HEADERS += \
src/GUI/dialog.h \
src/board/bitboard.h \
src/board/chessboard.h \
src/global.h \
src/machine/searchcapturemachine.h \
src/machine/searchiidmachine.h \
src/machine/searchmachine.h \
src/machine/searchquiescencemachine.h \
src/move/historymove.h \
src/move/move.h \
src/move/valuedcapmove.h \
src/move/valuedmove.h \
src/search/chessengine.h \
src/search/searchinstance.h \
src/table/hashtable.h \
src/table/historytable.h \
src/table/killertable.h \
src/table/pregen.h \
# test/perfttest.h
SOURCES += \
src/GUI/dialog.cpp \
src/board/bitboard.cpp \
src/board/chessboard.cpp \
src/machine/searchcapturemachine.cpp \
src/machine/searchiidmachine.cpp \
src/machine/searchmachine.cpp \
src/machine/searchquiescencemachine.cpp \
src/main.cpp \
src/move/historymove.cpp \
src/move/move.cpp \
src/move/valuedcapmove.cpp \
src/move/valuedmove.cpp \
src/search/chessengine.cpp \
src/search/searchinstance.cpp \
src/table/hashtable.cpp \
src/table/historytable.cpp \
src/table/killertable.cpp \
src/table/pregen.cpp \
# test/perfttest.cpp
INCLUDEPATH += src \
src/GUI \
src/board \
src/machine \
src/search \
src/table \
src/move \
# test
LIBS += -fopenmp
FORMS += \
src\GUI\dialog.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
res.qrc
RC_FILE = \
app.rc
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/lishuang_miao/ChineseChess_1.git
git@gitee.com:lishuang_miao/ChineseChess_1.git
lishuang_miao
ChineseChess_1
中国象棋
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385