cwoffenden / hello-webgpu

Cross-platform C++ example for WebGPU and Dawn
272 stars 36 forks source link

Add CMake build support #2

Closed juj closed 4 years ago

juj commented 4 years ago

Adapting the build-web.bat file over to a CMake script. Building via

cd ~/emsdk
source ./emsdk_env.sh

cd ~/hello-webgpu
mkdir build
cd build
emcmake cmake ..
make -j
cwoffenden commented 4 years ago

Thanks!