mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 01:17:16 -05:00
Enabled webui build script for Windows compile
This commit is contained in:
parent
21421ab8bf
commit
ab78825966
@ -34,13 +34,22 @@ win32{
|
|||||||
DEFINES *= WINDOWS_SYS
|
DEFINES *= WINDOWS_SYS
|
||||||
INCLUDEPATH += . $$INC_DIR
|
INCLUDEPATH += . $$INC_DIR
|
||||||
|
|
||||||
# create_webfiles.commands = $$_PRO_FILE_PWD_/webui-src/make-src/build.bat $$_PRO_FILE_PWD_
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
# QMAKE_EXTRA_TARGETS += create_webfiles
|
# Qt 5
|
||||||
# PRE_TARGETDEPS += create_webfiles
|
PRO_PATH=$$shell_path($$_PRO_FILE_PWD_)
|
||||||
|
MAKE_SRC=$$shell_path($$PRO_PATH/webui-src/make-src)
|
||||||
|
} else {
|
||||||
|
# Qt 4
|
||||||
|
PRO_PATH=$$replace(_PRO_FILE_PWD_, /, \\)
|
||||||
|
MAKE_SRC=$$PRO_PATH\\webui-src\\make-src
|
||||||
|
}
|
||||||
|
|
||||||
|
create_webfiles.commands = $$MAKE_SRC\\build.bat $$PRO_PATH
|
||||||
|
QMAKE_EXTRA_TARGETS += create_webfiles
|
||||||
|
PRE_TARGETDEPS += create_webfiles
|
||||||
|
|
||||||
# # create dummy files
|
# create dummy files
|
||||||
# system(webui-src/make-src/init.bat .)
|
system($$MAKE_SRC\\init.bat .)
|
||||||
}
|
}
|
||||||
|
|
||||||
libmicrohttpd{
|
libmicrohttpd{
|
||||||
|
Loading…
Reference in New Issue
Block a user