2019-12-18 11:57:20 -05:00
|
|
|
# RetroShare main qmake build script
|
|
|
|
#
|
|
|
|
# Copyright (C) 2004-2019, Retroshare Team <contact@retroshare.cc>
|
|
|
|
# Copyright (C) 2016-2019, Gioacchino Mazzurco <gio@eigenlab.org>
|
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify it under
|
|
|
|
# the terms of the GNU Lesser General Public License as published by the
|
|
|
|
# Free Software Foundation, either version 3 of the License, or (at your option)
|
|
|
|
# any later version.
|
|
|
|
#
|
|
|
|
# This program 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 Lesser General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public License along
|
|
|
|
# with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
# SPDX-FileCopyrightText: Retroshare Team <contact@retroshare.cc>
|
|
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
2018-05-21 12:23:52 -04:00
|
|
|
|
2020-03-18 18:10:57 -04:00
|
|
|
CONFIG += c++14
|
2019-11-28 09:48:17 -05:00
|
|
|
|
2016-07-18 23:17:22 -04:00
|
|
|
!include("retroshare.pri"): error("Could not include file retroshare.pri")
|
|
|
|
|
|
|
|
TEMPLATE = subdirs
|
|
|
|
|
2016-08-02 18:48:19 -04:00
|
|
|
SUBDIRS += openpgpsdk
|
2016-07-18 23:17:22 -04:00
|
|
|
openpgpsdk.file = openpgpsdk/src/openpgpsdk.pro
|
|
|
|
|
2018-09-28 18:15:10 -04:00
|
|
|
rs_jsonapi:isEmpty(JSONAPI_GENERATOR_EXE) {
|
2018-06-23 11:13:38 -04:00
|
|
|
SUBDIRS += jsonapi-generator
|
|
|
|
jsonapi-generator.file = jsonapi-generator/src/jsonapi-generator.pro
|
|
|
|
libretroshare.depends += jsonapi-generator
|
2017-12-31 11:27:21 -05:00
|
|
|
}
|
2016-07-18 23:17:22 -04:00
|
|
|
|
2018-07-25 05:37:40 -04:00
|
|
|
SUBDIRS += libbitdht
|
|
|
|
libbitdht.file = libbitdht/src/libbitdht.pro
|
2019-03-09 19:49:47 -05:00
|
|
|
libretroshare.depends += openpgpsdk libbitdht
|
2016-07-18 23:17:22 -04:00
|
|
|
|
2016-08-02 18:48:19 -04:00
|
|
|
SUBDIRS += libretroshare
|
2016-07-18 23:17:22 -04:00
|
|
|
libretroshare.file = libretroshare/src/libretroshare.pro
|
|
|
|
|
2016-08-02 18:48:19 -04:00
|
|
|
retroshare_gui {
|
|
|
|
SUBDIRS += retroshare_gui
|
|
|
|
retroshare_gui.file = retroshare-gui/src/retroshare-gui.pro
|
|
|
|
retroshare_gui.target = retroshare_gui
|
2019-11-27 12:44:10 -05:00
|
|
|
retroshare_gui.depends = libretroshare
|
2016-08-22 21:19:33 -04:00
|
|
|
}
|
|
|
|
|
2018-09-28 18:15:10 -04:00
|
|
|
retroshare_service {
|
|
|
|
SUBDIRS += retroshare_service
|
|
|
|
retroshare_service.file = retroshare-service/src/retroshare-service.pro
|
|
|
|
retroshare_service.depends = libretroshare
|
|
|
|
retroshare_service.target = retroshare_service
|
|
|
|
}
|
|
|
|
|
2021-10-08 19:08:23 -04:00
|
|
|
retroshare_friendserver {
|
|
|
|
SUBDIRS += retroshare_friendserver
|
|
|
|
retroshare_friendserver.file = retroshare-friendserver/src/retroshare-friendserver.pro
|
|
|
|
retroshare_friendserver.depends = libretroshare
|
|
|
|
retroshare_friendserver.target = retroshare_friendserver
|
|
|
|
}
|
2016-08-02 18:48:19 -04:00
|
|
|
retroshare_plugins {
|
|
|
|
SUBDIRS += plugins
|
|
|
|
plugins.file = plugins/plugins.pro
|
|
|
|
plugins.depends = retroshare_gui
|
|
|
|
plugins.target = plugins
|
|
|
|
}
|
2016-07-18 23:17:22 -04:00
|
|
|
|
|
|
|
wikipoos {
|
|
|
|
SUBDIRS += pegmarkdown
|
|
|
|
pegmarkdown.file = supportlibs/pegmarkdown/pegmarkdown.pro
|
|
|
|
retroshare_gui.depends += pegmarkdown
|
|
|
|
}
|
|
|
|
|
|
|
|
tests {
|
|
|
|
SUBDIRS += librssimulator
|
|
|
|
librssimulator.file = tests/librssimulator/librssimulator.pro
|
|
|
|
|
|
|
|
SUBDIRS += unittests
|
|
|
|
unittests.file = tests/unittests/unittests.pro
|
|
|
|
unittests.depends = libretroshare librssimulator
|
2016-07-15 09:03:41 -04:00
|
|
|
unittests.target = unittests
|
2016-07-18 23:17:22 -04:00
|
|
|
}
|