| OLD | NEW |
| 1 CMake build for Skia | 1 CMake build for Skia |
| 2 ==================== | 2 ==================== |
| 3 This directory contains experiemental CMake build files for Skia. | 3 This directory contains experiemental CMake build files for Skia. |
| 4 They are primarily targeted at building Skia as it would be shipped, | 4 They are primarily targeted at building Skia as it would be shipped, |
| 5 not at day-to-day Skia development. | 5 not at day-to-day Skia development. |
| 6 | 6 |
| 7 Quickstart | 7 Quickstart |
| 8 ---------- | 8 ---------- |
| 9 $ cd skia/cmake | 9 $ cd skia/cmake |
| 10 $ cmake . -G Ninja # Other CMake generators should work fine. | 10 $ cmake . -G Ninja # Other CMake generators should work fine. |
| 11 $ ninja | 11 $ ninja |
| 12 $ ls -l libskia.* example | 12 $ ls -l libskia.* example |
| 13 $ ./example | 13 $ ./example |
| 14 $ open example.png | 14 $ open example.png |
| 15 If that works, you should see "Hello World!" with a green-to-purple gradient. | 15 If that works, you should see "Hello World!" with a green-to-purple gradient. |
| 16 | 16 |
| 17 Currently supported platforms | 17 Currently supported platforms |
| 18 ----------------------------- | 18 ----------------------------- |
| 19 (None. This is still super experimental.) | 19 (None. This is still super experimental.) |
| 20 | 20 |
| 21 Currently maybe-kinda-working platforms | 21 Currently maybe-kinda-working platforms |
| 22 --------------------------------------- | 22 --------------------------------------- |
| 23 - x86-64 Mac OS X built with Clang (i.e. mtklein's laptop). | 23 - x86-64 Mac OS X, Ubuntu 15.04 |
| 24 | 24 |
| 25 Caveats | 25 Caveats |
| 26 ------- | 26 ------- |
| 27 - SkCodec, Skia's new image decoder library, does not yet build. | 27 - SkCodec, Skia's new image decoder library, does not yet build. |
| OLD | NEW |