skia2/cmake
mtklein 2409abb812 CMake builds on Ubuntu now too.
Punted for now on GL on Linux.  Man that's a beast.

BUG=skia:4269

Review URL: https://codereview.chromium.org/1315753009
2015-08-31 06:59:21 -07:00
..
.gitignore CMake builds on Ubuntu now too. 2015-08-31 06:59:21 -07:00
CMakeLists.txt CMake builds on Ubuntu now too. 2015-08-31 06:59:21 -07:00
example.cpp CMake builds on Ubuntu now too. 2015-08-31 06:59:21 -07:00
README.md Example CMake build for Skia. 2015-08-28 11:51:07 -07:00

CMake build for Skia

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.

Quickstart

$ cd skia/cmake
$ cmake . -G Ninja     # Other CMake generators should work fine.
$ ninja
$ ls -l libskia.* example
$ ./example
$ open example.png

If that works, you should see "Hello World!" with a green-to-purple gradient.

Currently supported platforms

(None. This is still super experimental.)

Currently maybe-kinda-working platforms

  • x86-64 Mac OS X built with Clang (i.e. mtklein's laptop).

Caveats

  • SkCodec, Skia's new image decoder library, does not yet build.