Building EDIE on VS Code
-
Install CMake.
-
Install VS Build Tools.
-
Clone the EDIE repository.
-
In VS Code, open the repository as the working directory.
-
Open a PowerShell session in the repository folder.
-
Create a build directory and navigate to it:
mkdir build && cd build
-
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".
-
Generate the configuration for shared along with static library for VS 2017:
cmake .. -G "Visual Studio 16 2019" -A Win32 -DCMAKE_LIB_SHARED=1
-
Install the following VS Code extensions:
-
ms-vscode.cpptools
-
ms-vscode.cmake-tools
-
twxs.cmake
-
-
Restart VS Code, then check that the extensions are active in the bottom toolbar of the IDE.
-
Select the CMake build type and use the appropriate architecture for Visual Studio Build Tools 2019 Release.
-
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.