2019-09-06 23:43:07 -04:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2017-03-19
|
|
|
|
#
|
|
|
|
# This file is part of MRCI.
|
|
|
|
#
|
|
|
|
# MRCI is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# MRCI is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with MRCI under the LICENSE.md file. If not, see
|
|
|
|
# <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
QT -= gui
|
|
|
|
QT += network
|
|
|
|
QT += sql
|
|
|
|
|
|
|
|
CONFIG += console
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
|
2020-04-21 12:04:36 -04:00
|
|
|
TARGET = build/mrci
|
|
|
|
OBJECTS_DIR = build
|
|
|
|
MOC_DIR = build
|
|
|
|
RCC_DIR = build
|
2019-09-06 23:43:07 -04:00
|
|
|
|
|
|
|
win32 {
|
|
|
|
|
|
|
|
LIBS += -llibeay32 -lssleay32
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
LIBS += -lcrypto -lssl
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
SOURCES += src/main.cpp \
|
2019-11-08 22:06:09 -05:00
|
|
|
src/async_funcs.cpp \
|
|
|
|
src/cmd_object.cpp \
|
|
|
|
src/cmd_proc.cpp \
|
2019-09-06 23:43:07 -04:00
|
|
|
src/commands/channels.cpp \
|
|
|
|
src/commands/cmd_ranks.cpp \
|
|
|
|
src/commands/p2p.cpp \
|
2019-11-08 22:06:09 -05:00
|
|
|
src/mem_share.cpp \
|
|
|
|
src/module.cpp \
|
2019-09-06 23:43:07 -04:00
|
|
|
src/session.cpp \
|
|
|
|
src/db.cpp \
|
|
|
|
src/make_cert.cpp \
|
|
|
|
src/tcp_server.cpp \
|
|
|
|
src/unix_signal.cpp \
|
|
|
|
src/common.cpp \
|
|
|
|
src/shell.cpp \
|
|
|
|
src/db_setup.cpp \
|
|
|
|
src/commands/users.cpp \
|
|
|
|
src/commands/mods.cpp \
|
|
|
|
src/commands/info.cpp \
|
|
|
|
src/commands/cast.cpp \
|
|
|
|
src/commands/admin.cpp \
|
|
|
|
src/commands/auth.cpp \
|
|
|
|
src/commands/acct_recovery.cpp \
|
|
|
|
src/commands/table_viewer.cpp \
|
2020-04-05 15:51:11 -04:00
|
|
|
src/commands/fs.cpp
|
2019-09-06 23:43:07 -04:00
|
|
|
|
|
|
|
HEADERS += \
|
2019-11-08 22:06:09 -05:00
|
|
|
src/cmd_object.h \
|
|
|
|
src/cmd_proc.h \
|
2019-09-06 23:43:07 -04:00
|
|
|
src/commands/channels.h \
|
|
|
|
src/commands/cmd_ranks.h \
|
|
|
|
src/commands/p2p.h \
|
2019-11-08 22:06:09 -05:00
|
|
|
src/mem_share.h \
|
|
|
|
src/module.h \
|
2019-09-06 23:43:07 -04:00
|
|
|
src/session.h \
|
|
|
|
src/db.h \
|
|
|
|
src/make_cert.h \
|
|
|
|
src/tcp_server.h \
|
|
|
|
src/unix_signal.h \
|
|
|
|
src/common.h \
|
|
|
|
src/shell.h \
|
|
|
|
src/db_setup.h \
|
|
|
|
src/commands/users.h \
|
|
|
|
src/commands/mods.h \
|
|
|
|
src/commands/info.h \
|
|
|
|
src/commands/cast.h \
|
|
|
|
src/commands/admin.h \
|
|
|
|
src/commands/auth.h \
|
|
|
|
src/commands/acct_recovery.h \
|
|
|
|
src/commands/table_viewer.h \
|
2020-04-05 15:51:11 -04:00
|
|
|
src/commands/fs.h
|
2019-09-06 23:43:07 -04:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
cmd_docs.qrc
|