- Install CMake >= 3.12
git clone https://github.com/imadr/blaz.git
cd blaz
mkdir build && cd build
cmake ..
to generate the build filescmake --build .
to run the build or use the generated visual studio project file/makefile to build You can also use cmake-gui
- Install emscripten
emsdk_env.bat
oremsdk_env.sh
mkdir build_wasm && cd build_wasm
emcmake cmake ..
cmake --build .
- To build a specific sample
cmake --build . --target "01-hellotriangle"
01-triangle |
02-cubes |
03-pbr |
04-physics |