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

Unified Diff: cmake/README.md

Issue 1975933002: cmake: fixes for windows (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « cmake/CMakeLists.txt ('k') | cmake/example.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmake/README.md
diff --git a/cmake/README.md b/cmake/README.md
index 0cbd2b369ecf680a9249977cf9f37efbb60ba250..f8a54f33e729816bc826f366eaf69e30f700d9bc 100644
--- a/cmake/README.md
+++ b/cmake/README.md
@@ -6,12 +6,17 @@ 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
+
+<!--?prettify lang=sh?-->
+
+ git clone https://skia.googlesource.com/skia.git
+ cd skia/cmake
+ cmake . -G Ninja # Other CMake generators should work fine.
+ ninja
+ ls -l libskia.* example
+ ./example
+ open example.png || xdg-open example.png
+
If that works, you should see "Hello World!" with a green-to-purple gradient.
Currently supported platforms
@@ -20,4 +25,11 @@ Currently supported platforms
Currently maybe-kinda-working platforms
---------------------------------------
- - x86-64 Mac OS X, Ubuntu 15.04
+ - x86-64 Mac OS X
+ - x86-64 Ubuntu 15.04
+ - x86-64 Windows 10, with extra caveats:
+ * Compiles against DirectWrite, not GDI, for fonts
+ * Configure with `cmake . -G "Visual Studio 14 2015"` .
+ * Compile with `cmake --build . --config Release` .
+ * Still has too many warnings.
+ * Poorly tested as yet.
« no previous file with comments | « cmake/CMakeLists.txt ('k') | cmake/example.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698