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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « cmake/CMakeLists.txt ('k') | cmake/example.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
10 $ cmake . -G Ninja # Other CMake generators should work fine. 10 <!--?prettify lang=sh?-->
11 $ ninja 11
12 $ ls -l libskia.* example 12 git clone https://skia.googlesource.com/skia.git
13 $ ./example 13 cd skia/cmake
14 $ open example.png 14 cmake . -G Ninja # Other CMake generators should work fine.
15 ninja
16 ls -l libskia.* example
17 ./example
18 open example.png || xdg-open example.png
19
15 If that works, you should see "Hello World!" with a green-to-purple gradient. 20 If that works, you should see "Hello World!" with a green-to-purple gradient.
16 21
17 Currently supported platforms 22 Currently supported platforms
18 ----------------------------- 23 -----------------------------
19 (None. This is still super experimental.) 24 (None. This is still super experimental.)
20 25
21 Currently maybe-kinda-working platforms 26 Currently maybe-kinda-working platforms
22 --------------------------------------- 27 ---------------------------------------
23 - x86-64 Mac OS X, Ubuntu 15.04 28 - x86-64 Mac OS X
29 - x86-64 Ubuntu 15.04
30 - x86-64 Windows 10, with extra caveats:
31 * Compiles against DirectWrite, not GDI, for fonts
32 * Configure with `cmake . -G "Visual Studio 14 2015"` .
33 * Compile with `cmake --build . --config Release` .
34 * Still has too many warnings.
35 * Poorly tested as yet.
OLDNEW
« 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