README.cmake
changeset 6674 45a21e50ba5e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/README.cmake	Fri Nov 16 09:23:18 2012 -0300
     1.3 @@ -0,0 +1,31 @@
     1.4 +================================================================================
     1.5 +CMake build system for SDL (www.cmake.org)
     1.6 +================================================================================
     1.7 +
     1.8 +SDL's build system was traditionally based on autotools. Over time, this
     1.9 +approach has suffered from several issues across the different supported 
    1.10 +platforms.
    1.11 +To solve these problems, a new build system based on CMake is under development.
    1.12 +It works in parallel to the legacy system, so users can experiment with it
    1.13 +without complication.
    1.14 +While still experimental, the build system should be usable on the following
    1.15 +platforms:
    1.16 +    
    1.17 +    * FreeBSD
    1.18 +    * Linux
    1.19 +    * VS.NET 2010
    1.20 +    * MinGW and Msys
    1.21 +    * OS X with support for XCode
    1.22 +    
    1.23 +================================================================================
    1.24 +Usage
    1.25 +================================================================================
    1.26 +
    1.27 +Assuming the source for SDL is located at ~/sdl
    1.28 +
    1.29 +cd ~
    1.30 +mkdir build
    1.31 +cd build
    1.32 +cmake ../sdl
    1.33 +
    1.34 +This will build the static and dynamic versions of SDL in the ~/build directory.