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