Hello Guys,
I have multiple c++ classes in my android project. I successfully converted these file in .wasm file with the help of emscripten so that i can use it, one of my java script project . But to get WASM file, I used to compile one class at a time one by one then after create the webassembly file through command (emcmdprompt). So i want to generate this Webassembly file in one go. So please sugget that how i can generate.
I have more that 10 CPP classes, and the Command which i used to compile cpp class through "emcmdprompt" terminal one by one is
emcc -O3 --bind -c fileName1.cpp
emcc -O3 --bind -c fileName2.cpp
emcc -O3 --bind -c fileName3.cpp
.......
......
and once the object file created then again i run one more command on "emcmdprompt" terminal to generate .wasm file
emcc -O3 --bind
fileName1.o
fileName2.o
fileName3.o -o script.js -s ALLOW_MEMORY_GROWTH=1
so please suggest how i can write all these command in single file and run in one go, instead of manually running one by one.
Thanks