C
compilers- OpenCL SDK for at least one of your platforms
- Check the
CMakeLists.txt
to suits your environment variables and compiler - Setup the toolchain for your compiler
- Run
cmake
to generate the build files - Run
cmake --build .\build --target main
to build the project
An example of building with
ninja
on Windowscmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S .\ -B .\build cmake --build .\build --target main -j 3
Optionally you can execute any version of the code by cahnging the -target
from main
to the filename of the version to execute without extension
An example of building the version 1.1.1
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S .\ -B .\build cmake --build .\build --target v1.1.1 -j 3