1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-07-03 11:53:41 +02:00

WASM: Adding html example

This commit is contained in:
Henrik Hautakoski 2020-01-02 20:11:14 +01:00
parent d6db107594
commit 0ce8fdb3c8
2 changed files with 14 additions and 0 deletions

View file

@ -55,5 +55,9 @@ if (UNIX) # Only include in bash environments.
) )
endif (UNIX) endif (UNIX)
if (${CMAKE_SYSTEM_NAME} STREQUAL Emscripten)
file(COPY template/wasm_example.html DESTINATION ${PROJECT_BINARY_DIR})
endif ()
install(TARGETS ${CMAKE_PROJECT_NAME} RUNTIME DESTINATION ${INSTALL_BIN_DIR}) install(TARGETS ${CMAKE_PROJECT_NAME} RUNTIME DESTINATION ${INSTALL_BIN_DIR})
install(FILES README.md LICENSE LICENSE.bitcoin DESTINATION ${INSTALL_SHARE_DIR}) install(FILES README.md LICENSE LICENSE.bitcoin DESTINATION ${INSTALL_SHARE_DIR})

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>WASM Test</title>
</head>
<body>
<script type="text/javascript" src="eosio-keygen.js"></script>
</body>
</html>