Skip to content

Commit

Permalink
Fix CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Jul 10, 2019
1 parent 1a7c80b commit 0465870
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if(${EMSCRIPTEN})
-s SAFE_HEAP=0 \
-s TOTAL_MEMORY=67108864 \
-s ALLOW_MEMORY_GROWTH=1 \
-s TOTAL_STACK=1MB \
-s MALLOC=emmalloc \
-s INVOKE_RUN=0 \
-s MODULARIZE=1 \
Expand All @@ -23,6 +24,7 @@ if(${EMSCRIPTEN})
'FS_createDataFile', 'lengthBytesUTF8', 'stringToUTF8', 'UTF16ToString']\" \
-s NO_EXIT_RUNTIME=1 \
-s ERROR_ON_UNDEFINED_SYMBOLS=0")
add_definitions(-DEMSCRIPTEN)
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=return-type -Wno-deprecated")
add_definitions(-DDEBUG -DEMSCRIPTEN_KEEPALIVE=)
Expand Down
10 changes: 5 additions & 5 deletions dist/docs/api/js-dos-ts/js-dos-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ gulpfile.js --> generateBuildInfo
```
export const Build = {
version: "6.22.28 (86d02bc8e133ecb479426a4d470a3fe3)",
jsVersion: "a5673922598aaea6d1015d09ebaee6060f4fd1ca",
jsSize: 458717,
wasmVersion: "1508fa125b65bf30cfb5be6a0f15cbee",
wasmSize: 2131784,
version: "6.22.28 (29e99da42ae1666b417f86c674ce28a7)",
jsVersion: "1a7c80b3a7dc6ac0448751d82d6d7ecb9627ec0a",
jsSize: 459510,
wasmVersion: "1f96ea3830ba77713d40289fe510fc6a",
wasmSize: 2125427,
};
Expand Down
10 changes: 5 additions & 5 deletions js-dos-ts/js-dos-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// gulpfile.js --> generateBuildInfo

export const Build = {
version: "6.22.28 (86d02bc8e133ecb479426a4d470a3fe3)",
jsVersion: "a5673922598aaea6d1015d09ebaee6060f4fd1ca",
jsSize: 458717,
wasmVersion: "1508fa125b65bf30cfb5be6a0f15cbee",
wasmSize: 2131784,
version: "6.22.28 (29e99da42ae1666b417f86c674ce28a7)",
jsVersion: "1a7c80b3a7dc6ac0448751d82d6d7ecb9627ec0a",
jsSize: 459510,
wasmVersion: "1f96ea3830ba77713d40289fe510fc6a",
wasmSize: 2125427,
};

0 comments on commit 0465870

Please sign in to comment.