Skip to content

CMake build implementation for Google Dawn

License

Notifications You must be signed in to change notification settings

mean-ui-thread/dawn.cmake

Repository files navigation

LICENSE Build Status

dawn.cmake

Google Dawn cmake build scripts with no ties to GN and depot_tools.

Build dependencies

Linux

sudo apt update
sudo apt install git cmake python2.7 python3 build-essential libgl1-mesa-dev libvulkan-dev mesa-common-dev

How to build

First, checkout recursively in order to get the required git submodules

git clone https://github.com/mchiasson/dawn.cmake --recursive

or

git clone https://github.com/mchiasson/dawn.cmake
cd dawn.cmake
git submodule update --init --recursive

and then build

cmake -S ./dawn.cmake -B ./build-dawn.cmake-Release -DCMAKE_BUILD_TYPE=Release
cmake --build ./build-dawn.cmake-Release

❤️ Sponsor us ❤️

Donate to this project using Patreon Donate to this project using Flattr Donate to this project using Liberapay Donate to this project using Buy Me A Coffee

Contributing

Please read CONTRIBUTING.md for details on our process for submitting pull requests to us, and read CODE_OF_CONDUCT.md for details on our code of conduct.

Authors

  • Mathieu-André Chiasson - Initial work - mchiasson

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details