This directory contains experiemental CMake build files for Skia. They are primarily targeted at building Skia as it would be shipped, not at day-to-day Skia development.
git clone https://skia.googlesource.com/skia.git cd skia/cmake cmake . -G Ninja # Other CMake generators should work fine. ninja ls -l libskia.* example ./example open example.png || xdg-open example.png
If that works, you should see “Hello World!” with a green-to-purple gradient.
(None. This is still super experimental.)
cmake . -G "Visual Studio 14 2015".
cmake --build . --config Release.