mirror of https://github.com/BOINC/boinc.git
Compile wasm with html
This commit is contained in:
parent
0f6dad86e7
commit
5190a61241
|
@ -231,7 +231,10 @@ build-*/
|
|||
# WASM
|
||||
*.wasm
|
||||
a.out.js
|
||||
boinc.js
|
||||
boinc_client.js
|
||||
boinccmd.js
|
||||
switcher.js
|
||||
boinc.html
|
||||
boinc_client.html
|
||||
boinccmd.html
|
||||
switcher.html
|
||||
|
|
|
@ -65,7 +65,10 @@ endif
|
|||
# Define files for distclean command
|
||||
DISTCLEANFILES = \
|
||||
clientgui/res/Makefile \
|
||||
packages/generic/sea/Makefile
|
||||
packages/generic/sea/Makefile \
|
||||
`find . -name "*.wasm"` \
|
||||
`find client -name "*.js"` \
|
||||
`find client -name "*.html"`
|
||||
|
||||
# Define files for maintainer-clean command
|
||||
MAINTAINERCLEANFILES = \
|
||||
|
|
|
@ -379,7 +379,7 @@ AC_PATH_PROG(DOCBOOK2X_MAN, docbook2x-man)
|
|||
AM_CONDITIONAL(HAVE_DOCBOOK2X_MAN, [test -n "${DOCBOOK2X_MAN}"])
|
||||
|
||||
if test "${enable_wasm}" = yes ; then
|
||||
EXEEXT=.js
|
||||
EXEEXT=.html
|
||||
fi
|
||||
|
||||
AC_SUBST([CLIENT_BIN_FILENAME],[boinc${EXEEXT}])
|
||||
|
|
|
@ -186,7 +186,8 @@ windows_manager_list = [
|
|||
|
||||
wasm_client_list = [
|
||||
'./client/boinc_client.wasm',
|
||||
'./client/boinc.js',
|
||||
'./client/boinc_client.js',
|
||||
'./client/boinc.html',
|
||||
'./samples/wasm/index.html',
|
||||
]
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<html>
|
||||
<body>
|
||||
<h1>Boinc</h1>
|
||||
<script src="boinc.js"></script>
|
||||
<script src="boinc_client.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue