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

How can I setup a specific build command? #461

Description

@fintechee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions