aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/README.md
blob: 9fd84a7b1c0c5b26ad4658cdf46b86c27fbcd29b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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, Ubuntu 15.04

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