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:
parent
d6db107594
commit
0ce8fdb3c8
2 changed files with 14 additions and 0 deletions
|
|
@ -55,5 +55,9 @@ if (UNIX) # Only include in bash environments.
|
|||
)
|
||||
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(FILES README.md LICENSE LICENSE.bitcoin DESTINATION ${INSTALL_SHARE_DIR})
|
||||
|
|
|
|||
10
template/wasm_example.html
Normal file
10
template/wasm_example.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue