Configuring Samsung Emscripten SDK for Tizen Studio

This section describes how to select and configure an instance of the Samsung Emscripten SDK for developing WebAssembly modules in Web applications.

The Samsung Emscripten SDK can be configured for both a Web application project that holds WebAssembly modules and for the modules individually. Once it is configured for any Web application project, each newly added WebAssembly module inherits and uses that setting by default.

To select and set up an instance of the Samsung Emscripten SDK for developing WebAssembly modules in Web applications:

  1. Right-click the WebAssembly module you want to configure the SDK for.

  2. Select "WebAssembly > Configure WebAssembly Toolchain".

    Figure 1. Samsung Emscripten SDK Configuration Dialog

  3. In the "Configuration file" field, either manually enter the absolute path to the Samsung Emscripten SDK configuration file, or click "Browse" to select it from the file dialog.

  4. In the "Cache directory" field, either manually enter the absolute path to the cache directory to be used by the Emscripten SDK, or click "Browse" to select it from the file system of your device. It is strongly recommended that you set a different cache directory for each different version of the Samsung Emscripten SDK installed on your computer - otherwise build errors can occur.
    You must also set a different cache directory for each WebAssembly module, since it can sometimes be necessary to clear the cache and such a setup ensures that the clearing does not impact other modules.