Skip to content

Instantly share code, notes, and snippets.

@juj
Created February 26, 2019 13:43
Show Gist options
  • Save juj/5ad1adb3fed23e72a8b8faeaf87e5511 to your computer and use it in GitHub Desktop.
Save juj/5ad1adb3fed23e72a8b8faeaf87e5511 to your computer and use it in GitHub Desktop.
Install Emscripten
::Install
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
emsdk install sdk-incoming-64bit
emsdk activate sdk-incoming-64bit
emsdk_env.bat
::Build
cd emscripten\incoming
em++ tests/hello_world.cpp -o hello_world.js
::Run
node hello_world.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment