Verified Commit 5a8b2431 authored by nagayama15's avatar nagayama15

Import ammo.js as a git submodule and update README.md

parent 8a6c3662
[submodule "example/ammo.js/ammo.js"]
path = example/ammo.js/ammo.js
url = git://github.com/kripken/ammo.js.git
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
WebAssembly に対する電子透かし埋め込み器 WebAssembly に対する電子透かし埋め込み器
## 開発環境 ## Environment
Language: C++17 Language: C++17
...@@ -12,16 +12,14 @@ Compilers: GCC, Clang, emcc ...@@ -12,16 +12,14 @@ Compilers: GCC, Clang, emcc
Libraries: Boost, Binaryen 1.38.30 Libraries: Boost, Binaryen 1.38.30
## 命名規約 ## How to Clone
## プロジェクトのダウンロード
```shell ```shell
$ git clone git@github.com:NagayamaRyoga/wasm-watermarker.git $ git clone --recursive git@github.com:NagayamaRyoga/wasm-watermarker.git
$ cd wasm-watermarker $ cd wasm-watermarker
``` ```
## ビルド ## How to Build
```shell ```shell
$ mkdir build && cd build $ mkdir build && cd build
...@@ -29,31 +27,9 @@ $ cmake .. ...@@ -29,31 +27,9 @@ $ cmake ..
$ make $ make
``` ```
## 実行方法 ## How to Run
```shell ```shell
$ snpi <input-wasm> <watermark> $ snpi <input-wasm> <watermark>
$ pisn <input-wasm> $ pisn <input-wasm>
``` ```
## ライセンス表示
### example/ammo.wasm.wasm
Copyright (c) 2011 ammo.js contributors
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Subproject commit aab297a4164779c3a9d8dc8d9da26958de3cb778
...@@ -5,7 +5,7 @@ path=("$PWD/../build/src" $path[@]) ...@@ -5,7 +5,7 @@ path=("$PWD/../build/src" $path[@])
wasms=( wasms=(
$PWD/styled-jsx/mappings.wasm $PWD/styled-jsx/mappings.wasm
$PWD/zlib-wasm/zlib-sample.wasm $PWD/zlib-wasm/zlib-sample.wasm
$PWD/ammo/ammo.wasm.wasm $PWD/ammo.js/ammo.js/builds/ammo.wasm.wasm
) )
echo "name, size[B], funcs, opswap[bit], funcord[bit]" echo "name, size[B], funcs, opswap[bit], funcord[bit]"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment