Refactor file path

This commit is contained in:
Calcitem Team 2019-09-03 00:07:08 +08:00
parent 479862ddba
commit eaae122200
31 changed files with 86 additions and 87 deletions

View File

@ -1,81 +1,80 @@
#-------------------------------------------------
#
# Project created by QtCreator 2015-11-03T22:30:34
#
#-------------------------------------------------
QT += core gui \
multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = NineChess
TEMPLATE = app
CONFIG += warn_off
INCLUDEPATH += src
INCLUDEPATH += include
SOURCES += \
src/client.cpp \
src/main.cpp \
src/boarditem.cpp \
src/gamecontroller.cpp \
src/gamescene.cpp \
src/gameview.cpp \
src/ninechess.cpp \
src/ninechessai_ab.cpp \
src/ninechesswindow.cpp \
src/pieceitem.cpp \
src/aithread.cpp \
src/server.cpp
HEADERS += \
include/config.h \
include/version.h \
include/version.h.template \
src/HashNode.h \
src/MemoryPool.h \
src/MemoryPool.tcc \
src/StackAlloc.h \
src/boarditem.h \
src/client.h \
src/gamecontroller.h \
src/gamescene.h \
src/gameview.h \
src/graphicsconst.h \
src/hashMap.h \
src/ninechess.h \
src/ninechessai_ab.h \
src/ninechesswindow.h \
src/pieceitem.h \
src/manuallistview.h \
src/aithread.h \
src/server.h \
src/zobrist.h
FORMS += \
ninechesswindow.ui
RESOURCES += \
ninechesswindow.qrc
DISTFILES += \
NineChess.rc \
../Readme.md \
../Sample.txt \
../History.txt \
../Licence.txt \
version.sh
RC_FILE += NineChess.rc
# 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
}
#-------------------------------------------------
#
# Project created by QtCreator 2015-11-03T22:30:34
#
#-------------------------------------------------
QT += core gui \
multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = NineChess
TEMPLATE = app
CONFIG += warn_off
INCLUDEPATH += include
INCLUDEPATH += src/base
INCLUDEPATH += src/ai
INCLUDEPATH += src/game
INCLUDEPATH += src/ui/qt
SOURCES += \
src/main.cpp \
src/base/thread.cpp \
src/ai/search.cpp \
src/game/ninechess.cpp \
src/ui/qt/ninechesswindow.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/base/HashNode.h \
src/base/hashMap.h \
src/base/MemoryPool.h \
src/base/MemoryPool.tcc \
src/base/stackalloc.h \
src/base/thread.h \
src/ai/search.h \
src/ai/zobrist.h \
src/game/ninechess.h \
src/ui/qt/client.h \
src/ui/qt/gamecontroller.h \
src/ui/qt/gamescene.h \
src/ui/qt/gameview.h \
src/ui/qt/graphicsconst.h \
src/ui/qt/ninechesswindow.h \
src/ui/qt/pieceitem.h \
src/ui/qt/manuallistview.h \
src/ui/qt/server.h \
src/ui/qt/boarditem.h
FORMS += \
ninechesswindow.ui
RESOURCES += \
ninechesswindow.qrc
DISTFILES += \
NineChess.rc \
version.sh
RC_FILE += NineChess.rc
# 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
}

View File

@ -27,7 +27,7 @@
#include <chrono>
#include <algorithm>
#include "ninechessai_ab.h"
#include "search.h"
#include "hashmap.h"
using namespace CTSL;

View File

@ -22,7 +22,7 @@
#include <QTimer>
#include <QDebug>
#include "aithread.h"
#include "thread.h"
AiThread::AiThread(int id, QObject *parent) :
QThread(parent),

View File

@ -27,7 +27,7 @@
#include <QWaitCondition>
#include <QTimer>
#include "ninechess.h"
#include "ninechessai_ab.h"
#include "search.h"
#include "server.h"
#include "client.h"

View File

@ -21,7 +21,7 @@
#include <algorithm>
#include "ninechess.h"
#include "ninechessai_ab.h"
#include "search.h"
#include <QDebug>
// 对静态常量数组的定义要放在类外,不要放在头文件

View File

@ -22,7 +22,7 @@
#include <QtNetwork>
#include "client.h"
#include "aithread.h"
#include "thread.h"
Client::Client(QWidget *parent, uint16_t port)
: QDialog(parent)

View File

@ -40,7 +40,7 @@
#include "ninechess.h"
#include "gamescene.h"
#include "pieceitem.h"
#include "aithread.h"
#include "thread.h"
#include "server.h"
#include "client.h"