mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-28 02:34:44 +00:00
89 lines
2.5 KiB
Prolog
89 lines
2.5 KiB
Prolog
#
|
|
# Copyright (C) 2018 - 2019 QuasarApp.
|
|
# Distributed under the lgplv3 software license, see the accompanying
|
|
# Everyone is permitted to copy and distribute verbatim copies
|
|
# of this license document, but changing it is not allowed.
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2019-02-12T11:08:54
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
QT -= gui
|
|
QT += network
|
|
|
|
TARGET = ClientProtocol
|
|
TEMPLATE = lib
|
|
|
|
DEFINES += CLIENTPROTOCOL_LIBRARY
|
|
|
|
# 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
|
|
|
|
CONFIG(release, debug|release): {
|
|
DESTDIR = $$PWD/build/release
|
|
|
|
} else {
|
|
DESTDIR = $$PWD/build/debug
|
|
}
|
|
|
|
include($$PWD/../../QuasarAppLib/QuasarLib.pri)
|
|
include($$PWD/../../SnakeUtils/SnakeUtils.pri)
|
|
include($$PWD/../Qt-Secret/src/Qt-Secret.pri)
|
|
|
|
|
|
SOURCES += \
|
|
Objects/basenetworkobject.cpp \
|
|
Objects/map.cpp \
|
|
Objects/objdata.cpp \
|
|
Objects/pubkey.cpp \
|
|
Objects/snake.cpp \
|
|
clientprotocol.cpp \
|
|
client.cpp \
|
|
Objects/gamedata.cpp \
|
|
Objects/getitem.cpp \
|
|
Objects/login.cpp \
|
|
networkclasssize.cpp \
|
|
Objects/player.cpp \
|
|
rsakeyspool.cpp \
|
|
server.cpp \
|
|
factorynetobjects.cpp \
|
|
connectioninfo.cpp \
|
|
Objects/updateplayerdata.cpp
|
|
|
|
|
|
HEADERS += \
|
|
Objects/basenetworkobject.h \
|
|
Objects/map.h \
|
|
Objects/objdata.h \
|
|
Objects/pubkey.h \
|
|
Objects/snake.h \
|
|
clientprotocol.h \
|
|
clientprotocol_global.h \
|
|
Objects/gamedata.h \
|
|
Objects/getitem.h \
|
|
Objects/login.h \
|
|
networkclasssize.h \
|
|
client.h \
|
|
Objects/player.h \
|
|
rsakeyspool.h \
|
|
server.h \
|
|
cp.h \
|
|
config.h \
|
|
factorynetobjects.h \
|
|
connectioninfo.h \
|
|
cpserver.h \
|
|
Objects/updateplayerdata.h
|
|
|
|
include($$PWD/ClientProtocolIncludes.pri)
|