mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
WebUI is now optional but enabled by default at compile time
This commit is contained in:
parent
b4a10749f4
commit
fe7de83529
11 changed files with 426 additions and 380 deletions
|
@ -8,11 +8,12 @@ TARGET = resapi
|
|||
TARGET_PRL = libresapi
|
||||
DESTDIR = lib
|
||||
|
||||
CONFIG += libmicrohttpd
|
||||
|
||||
INCLUDEPATH += ../../libretroshare/src
|
||||
|
||||
unix {
|
||||
libresapihttpserver {
|
||||
CONFIG += libmicrohttpd
|
||||
|
||||
unix {
|
||||
|
||||
webui_files.path = "$${DATA_DIR}/webui"
|
||||
webui_files.files = webui/app.js webui/app.css webui/index.html
|
||||
|
@ -81,9 +82,9 @@ unix {
|
|||
|
||||
|
||||
QMAKE_EXTRA_COMPILERS += create_webfiles_html create_webfiles_js create_webfiles_css
|
||||
}
|
||||
}
|
||||
|
||||
win32{
|
||||
win32 {
|
||||
DEFINES *= WINDOWS_SYS
|
||||
INCLUDEPATH += . $$INC_DIR
|
||||
|
||||
|
@ -104,9 +105,8 @@ win32{
|
|||
|
||||
# create dummy files
|
||||
system($$MAKE_SRC\\init.bat .)
|
||||
}
|
||||
}
|
||||
|
||||
libmicrohttpd{
|
||||
linux {
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG *= libmicrohttpd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue