mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 08:29:26 -05:00
4876a0ea3b
Restructure and document retroshare.pri variables and helper functions Link sqlite statically like other libraries on Android qmake has multiple win32-* specs match them correctly Move a buch of generic thing to retroshare.pri instead of having them replocated accross project specific .pro Fix retroshare-gui too many symbols exported on windows liking error by adding QMAKE_LFLAGS+=-Wl,--exclude-libs,ALL Rename retroshare-gui/src/util/win32.h because the name is too prone to confusion and build conflicts libreasapi avoid usage of cretar_prl link_prl that seems unreliable on some platforms libreasapi rename LIBRESAPI_QT to more understendable LIBRESAPI_SETTINGS Use use_*.pri instead of copy pasting error prone qmake snippets around Expose bitdht option to retroshare.pri Add RS_THREAD_LIB qmake variable for better crossplatform support Move debug and profiling generic options to retroshare.pri (avoid copy/pasting) Remove Qt script module in qmake as it is not available anymore
87 lines
2.5 KiB
Prolog
87 lines
2.5 KiB
Prolog
!include("retroshare.pri"): error("Could not include file retroshare.pri")
|
|
|
|
TEMPLATE = subdirs
|
|
|
|
SUBDIRS += openpgpsdk
|
|
openpgpsdk.file = openpgpsdk/src/openpgpsdk.pro
|
|
|
|
retrotor {
|
|
libretroshare.depends = openpgpsdk
|
|
} else {
|
|
SUBDIRS += libbitdht
|
|
libbitdht.file = libbitdht/src/libbitdht.pro
|
|
libretroshare.depends = openpgpsdk libbitdht
|
|
}
|
|
|
|
SUBDIRS += libretroshare
|
|
libretroshare.file = libretroshare/src/libretroshare.pro
|
|
|
|
SUBDIRS += libresapi
|
|
libresapi.file = libresapi/src/libresapi.pro
|
|
libresapi.depends = libretroshare
|
|
|
|
retroshare_gui {
|
|
SUBDIRS += retroshare_gui
|
|
retroshare_gui.file = retroshare-gui/src/retroshare-gui.pro
|
|
retroshare_gui.depends = libretroshare libresapi
|
|
retroshare_gui.target = retroshare_gui
|
|
}
|
|
|
|
retrotor {
|
|
} else {
|
|
retroshare_nogui {
|
|
SUBDIRS += retroshare_nogui
|
|
retroshare_nogui.file = retroshare-nogui/src/retroshare-nogui.pro
|
|
retroshare_nogui.depends = libretroshare libresapi
|
|
retroshare_nogui.target = retroshare_nogui
|
|
}
|
|
}
|
|
|
|
retroshare_android_service {
|
|
SUBDIRS += retroshare_android_service
|
|
retroshare_android_service.file = retroshare-android-service/src/retroshare-android-service.pro
|
|
retroshare_android_service.depends = libresapi
|
|
retroshare_android_service.target = retroshare_android_service
|
|
}
|
|
|
|
retroshare_android_notify_service {
|
|
SUBDIRS += retroshare_android_notify_service
|
|
retroshare_android_notify_service.file = retroshare-android-notify-service/src/retroshare-android-notify-service.pro
|
|
retroshare_android_notify_service.depends = retroshare_android_service
|
|
retroshare_android_notify_service.target = retroshare_android_notify_service
|
|
}
|
|
|
|
retroshare_qml_app {
|
|
SUBDIRS += retroshare_qml_app
|
|
retroshare_qml_app.file = retroshare-qml-app/src/retroshare-qml-app.pro
|
|
retroshare_qml_app.depends = retroshare_android_service
|
|
retroshare_qml_app.target = retroshare_qml_app
|
|
|
|
android-g++ {
|
|
retroshare_qml_app.depends += retroshare_android_notify_service
|
|
}
|
|
}
|
|
|
|
retroshare_plugins {
|
|
SUBDIRS += plugins
|
|
plugins.file = plugins/plugins.pro
|
|
plugins.depends = retroshare_gui
|
|
plugins.target = plugins
|
|
}
|
|
|
|
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
|
|
unittests.target = unittests
|
|
}
|