Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16b2c56
commit bcb64d5
Showing
2 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@echo off | ||
if not exist "build\" mkdir build | ||
if not exist "dist\" mkdir dist | ||
|
||
cmd /C emcc --std=c++11 --bind -s WASM=1 -s MODULARIZE=1 -s ALLOW_MEMORY_GROWTH=1 -Iinclude -Ilib -O3 -Wall -pedantic src\loop.cpp -o build\loop.js | ||
|
||
copy build\loop.wasm dist\ | ||
copy build\loop.js dist\loop_mod.js | ||
copy src\main.js dist\ | ||
copy src\wasm_loader.js dist\ |