Browse Source

Update 'README.md'

main
varnicas 6 months ago
parent
commit
1df8918e64
  1. 3
      README.md

3
README.md

@ -1,7 +1,8 @@
# Prototype # Prototype
Link for compiling code with Embind → https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html Link for compiling code with Embind → https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html
Command for compiling code with Embind:
**Command for compiling code with Embind:**
``` ```
emcc -lembind -o test.js test.cpp -s NO_EXIT_RUNTIME=1 -s "EXPORTED_RUNTIME_METHODS=['ccall']" emcc -lembind -o test.js test.cpp -s NO_EXIT_RUNTIME=1 -s "EXPORTED_RUNTIME_METHODS=['ccall']"
``` ```

Loading…
Cancel
Save