This project helps you build WASM files for this project: https://github.com/gkv311/occt-draw
- Install the Ddocker and BuildKit. The latest version of Docker has been integrated with BuildKit.
- Clone this project.
- Run
Build the single-threaded DRAWEXE.
`DOCKER_BUILDKIT=1 docker build -o type=local,dest=WASM_OUTPUT_PATH .`
Build multi-threaded DRAWEXE.`DOCKER_BUILDKIT=1 docker build -o type=local,dest=WASM_OUTPUT_PATH --build-arg pthread=-pthread .`