Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

How can I setup a specific build command? #461

Open
fintechee opened this issue Jun 28, 2020 · 1 comment
Open

How can I setup a specific build command? #461

fintechee opened this issue Jun 28, 2020 · 1 comment

Comments

@fintechee
Copy link

Emscripten is great! This studio is great as well!!
I love it!

I have a question. (I'm a newbie to this IDE)

How can I setup a specific build command?
For example:

emcc atr.cpp -o atr.js -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap", "getValue", "setValue", "addFunction", "UTF8ToString", "lengthBytesUTF8", "stringToUTF8"]' -s RESERVED_FUNCTION_POINTERS=100 -s MODULARIZE=1 -s 'EXPORT_NAME="IndiPlugIn"' -s ENVIRONMENT=web -s ALLOW_MEMORY_GROWTH=1

and

emcc ea_basedon_macd.cpp -o ea_basedon_macd.js -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap", "getValue", "setValue", "addFunction", "UTF8ToString", "lengthBytesUTF8", "stringToUTF8"]' -s RESERVED_FUNCTION_POINTERS=100 -s MODULARIZE=1 -s 'EXPORT_NAME="EAPlugIn"' -s ENVIRONMENT=web -s ASYNCIFY -s 'ASYNCIFY_IMPORTS=["jOrderSend", "jOrderModify", "jOrderClose", "jOrderDelete"]' -O3

How to make both commands executed by the online studio?

Any help would be appreciated, many thanks.

@fintechee
Copy link
Author

I googled WebAssembly editor and found another good IDE: Wasmfiddle.
There is a build setting.
But Wasmfiddle is deprecated.
And the page said they created a new project: WebAssemblyStudio.
Then why doesn't the updated version retain the necessary feature?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant