Setting Emscripten SDK

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

The Emscripten SDK can be set both for a TV application project that holds WebAssembly modules and for the modules individually.

Once it is set for any TV application project, each newly added WebAssembly module inherits and uses that setting by default.

Setting Emscripten SDK for WebAssembly modules

  1. Right-click the WebAssembly module to set.

  2. Select WebAssembly > Configure WebAssembly Toolchain.

    Figure 1. Emscripten SDK Configuration Dialog

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

  1. In the "Cache directory" field either manually enter the absolute path to the cache directory that will be used by the Emscripten SDK or click the "Browse" button to select it from the directory dialog. It is strongly recommended that you set different cache directory for each of different versions of Emscripten SDKs that you may have installed on your computer - otherwise build errors may occur.

    You may also want to set different cache directory for each WebAssembly module: since it might be sometimes required to clear the cache, such setup ensures that the clearing will not impact other modules.