Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.02 KB

HowToBuild.md

File metadata and controls

53 lines (36 loc) · 1.02 KB

Building

VSCode-Wolfram uses a Wolfram Language kernel to build a .vsix file.

VSCode-Wolfram uses CMake to generate build scripts.

One time setup

npm must be installed on your system. Get npm from here: Get npm

Make sure that you have installed the required tools:

npm install -g vsce

Building

Here is an example transcript using the default make generator to build VSCode-Wolfram:

cd vscode-wolfram
mkdir build
cd build
cmake ..
cmake --build .

The result is a .vsix file in the build directory.

Specify MATHEMATICA_INSTALL_DIR if you have Mathematica installed in a non-default location:

cmake -DMATHEMATICA_INSTALL_DIR=/Applications/Mathematica.app/Contents/ ..
cmake --build .

On Windows:

cmake -DMATHEMATICA_INSTALL_DIR="C:/Program Files/Wolfram Research/Mathematica/13.1" ..
cmake --build .

Installing

You can install the paclet from CMake:

cmake --install .

This runs the vsce command and installs the built .vsix file.