Skip to content

emcc support for Visual Studio 2017, 2019, 2022

License

Notifications You must be signed in to change notification settings

nokotan/VSExtForEmscripten

Repository files navigation

Visual Studio Project Support for emscripten

!!! IMPORTANT NOTICE !!!

Breaking change is planned in v0.7.0.

Extension dependency will be more simplified.

Required Actions

Visual Studio 2017, 2019 Users

  • Remove Emscripten Debugger for Visual Studio, which will be merged into Emscripten Build Target
  • Install Emscripten Build Target additionaly

Visual Studio 2022 Users

  • Remove Emscripten Debugger for Visual Studio, which will be merged into Emscripten Build Target

Introduction

This extension will provide these functionarities

  • emscripten project template
  • Property pages for compiling with emcc
  • WebAssembly Debugger (experimental)

This extension contains sources in following repositories and these source files are re-licensed under the MIT licenses. Please refer the original repository for the original licenses.

This extension is developed with Visual Studio Project System, which is in preview.

Requirements

  • Visual Studio 2017, Visual Studio 2019, Visual Studio 2022
  • emscripten Installation

Installation

From Visual Studio Extenstion Manager

  • Open Visual Studio Extenstion Manager ( [Tools] > [Extensions and Updates...] )
  • Search for Emscripten Extension Pack

From Visual Studio MarketPlace

Visual Studio Version .vsix Download Page
Visual Studio 2013, 2015 (Not .vsix, but https://github.com/crosire/vs-toolsets will help)
Visual Studio 2017, 2019, 2022 https://marketplace.visualstudio.com/items?itemName=KamenokoSoft.emscripten-extensions

From GitHub Releases (Cutting Edge)

First Step with this tool

  • Open project preference (in [Project] > [$(ProjectName)\ Properties ...]) and fill out General/Emscripten ("emscripten インストールディレクトリ" in Japanese) with your emscripten installation path.

General/Emscripten