Building EDIE on VS Code

  1. Install CMake.

  2. Install VS Build Tools.

  3. Clone the EDIE repository.

  4. In VS Code, open the repository as the working directory.

  5. Open a PowerShell session in the repository folder.

  6. Create a build directory and navigate to it:

    mkdir build && cd build

  7. Generate the configuration for the static library for Visual Studio:

    cmake .. -G "Visual Studio 16 2019" -A Win32

    The argument for -G can be replaced with any Visual Studio version newer than "Visual Studio 16 2019".

  8. Generate the configuration for shared along with static library for VS 2017:

    cmake .. -G "Visual Studio 16 2019" -A Win32 -DCMAKE_LIB_SHARED=1

  9. Install the following VS Code extensions:

    • ms-vscode.cpptools

    • ms-vscode.cmake-tools

    • twxs.cmake

  10. Restart VS Code, then check that the extensions are active in the bottom toolbar of the IDE.

  11. Select the CMake build type and use the appropriate architecture for Visual Studio Build Tools 2019 Release.

  12. Use the Build button on the toolbar to execute the build process.

    The CMake tab on the left-hand column of the IDE can be used to configure the project by right-clicking EDIE | ALL_BUILD | CMakeLists.txt.