skia2/cmake
rmistry 5d36360c47 Use BUILD_TYPE in cmake_build.
Build files were directly written to the out directory. This change makes them go to the expected out/{Release, Debug} directory.

BUG=skia:5160

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1916773002
CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot

Review URL: https://codereview.chromium.org/1916773002
2016-04-25 06:29:21 -07:00
..
.gitignore CMake: generate skia.h and skia_{compile|link}_arguments.txt 2015-11-30 12:42:58 -08:00
cmake_build Use BUILD_TYPE in cmake_build. 2016-04-25 06:29:21 -07:00
CMakeLists.txt Move SkGLContext and some GrGLInterface implementations to skgputest module 2016-03-30 18:56:20 -07:00
example.cpp exernalize imagefactory guard 2016-04-15 10:56:52 -07:00
README.md Add SkCodec to the CMake build 2016-02-16 13:16:40 -08:00
SkUserConfig.h.in [CMake fixes] Linux X11 pixel format and Windows compilation fix 2016-03-25 09:01:26 -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, Ubuntu 15.04