mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
This commit is contained in:
parent
3d7c681ed0
commit
c7f2739dda
110 changed files with 942 additions and 1125 deletions
8
INSTALL
8
INSTALL
|
@ -158,6 +158,14 @@ OpenBSD
|
|||
|
||||
See: https://bug.tasktools.org/browse/TW-1579
|
||||
|
||||
WASM
|
||||
Using the Emscripten compiler, you can achieve it like this:
|
||||
|
||||
cmake -DCMAKE_CXX_COMPILER=emcc -DENABLE_SYNC=OFF -DCMAKE_BUILD_TYPE=release -DENABLE_WASM=ON \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-m32 -s NO_DYNAMIC_EXECUTION=1 -s WASM=1 -s NO_EXIT_RUNTIME=1 -s INVOKE_RUN=0" \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE="-O2 -m32"
|
||||
|
||||
This will produce an optimized WASM with a main() that is callable multiple times.
|
||||
|
||||
Troubleshooting
|
||||
---------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue