|
@ -1,6 +1,6 @@ |
|
|
# 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']" |
|
|