From 3a3830098b926934b1e9964978b5081bb8fd866e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 2 Feb 2014 09:56:08 +0100 Subject: [PATCH] doc: mention that it might be easier to use SDL2 on newer systems. --- doc/getting-started.dox | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/getting-started.dox b/doc/getting-started.dox index 722235f03..4b271c8c5 100644 --- a/doc/getting-started.dox +++ b/doc/getting-started.dox @@ -34,7 +34,9 @@ namespace Magnum { Get latest version from GitHub and install it. Read full guide on @ref building "how to download, build and install Magnum" on platform of your choice. For our first project we will use GLUT toolkit, don't forget to enable -it for building using `WITH_GLUTAPPLICATION` CMake parameter. +it for building using `WITH_GLUTAPPLICATION` CMake parameter. On newer systems, +Mac OS X and Windows you might want to use SDL2 toolkit instead, it is enabled +using `WITH_SDL2APPLICATION` CMake parameter. @section getting-started-bootstrap Download bootstrap project @@ -52,6 +54,12 @@ extract it somewhere. Do it rather than cloning the full repository, as it's better to init your own repository from scratch to avoid having the history polluted. +If you want to use SDL2 instead of GLUT, download the `base-sdl2` branch +[archive](https://github.com/mosra/magnum-bootstrap/archive/base-sdl2.zip). +The code will be slightly different from what is presented below, but the +changes are only minor (two modified lines and one additional file) and the +main principles are the same. + @section getting-started-review Review project structure The base project consists of just six files in two subfolders. %Magnum uses