Skip to content

Compiling on Windows

José Ángel Soler Ortiz edited this page Sep 11, 2023 · 1 revision

Install Visual Studio 2022 Community Edition: https://visualstudio.microsoft.com/es/vs/community/

Install Intel ISPC and ensure that C:\Program Files\ISPC\ispc-v1.18.0-windows\bin is in your path: https://github.com/ispc/ispc

Install CMake: https://cmake.org/download/

Install ninja and ensure that it is in your PATH: https://github.com/ninja-build/ninja/releases

Install git: https://git-scm.com/

To setup the todds repository, launch the x64 Native Tools Command Prompt for VS 2022 and run:

git clone https://github.com/joseasoler/todds.git
cd todds
git submodule update --init --recursive

To compile, just run:

cmake --preset cfg-win-rel-msvc
cmake --build --target install --preset win-rel-msvc
Clone this wiki locally