Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: cmake/README.md

Issue 1319543003: Example CMake build for Skia. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: sort Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cmake/README.md
diff --git a/cmake/README.md b/cmake/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..36c1c3d20c920c9cabf11aa1edc2d3cdf807028b
--- /dev/null
+++ b/cmake/README.md
@@ -0,0 +1,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 built with Clang (i.e. mtklein's laptop).
+
+Caveats
+-------
+ - SkCodec, Skia's new image decoder library, does not yet build.
« cmake/CMakeLists.txt ('K') | « cmake/CMakeLists.txt ('k') | cmake/example.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698