Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 995 Bytes

README-cmake.md

File metadata and controls

32 lines (25 loc) · 995 Bytes
 
Jul 29, 2014
Jul 29, 2014
1
CMake
2
================================================================================
Jul 29, 2014
Jul 29, 2014
3
(www.cmake.org)
4
5
6
7
8
9
10
11
12
SDL's build system was traditionally based on autotools. Over time, this
approach has suffered from several issues across the different supported
platforms.
To solve these problems, a new build system based on CMake is under development.
It works in parallel to the legacy system, so users can experiment with it
without complication.
While still experimental, the build system should be usable on the following
platforms:
Aug 15, 2014
Aug 15, 2014
13
14
15
16
17
18
19
20
* FreeBSD
* Linux
* VS.NET 2010
* MinGW and Msys
* OS X with support for XCode
21
22
23
24
25
26
================================================================================
Usage
================================================================================
Assuming the source for SDL is located at ~/sdl
Aug 15, 2014
Aug 15, 2014
27
28
29
30
cd ~
mkdir build
cd build
cmake ../sdl
31
32
This will build the static and dynamic versions of SDL in the ~/build directory.