author | Philipp Wiesemann <philipp.wiesemann@arcor.de> |
Tue, 28 Jun 2016 21:14:11 +0200 | |
changeset 10188 | 9cf58ba2b2ad |
parent 9066 | c2af3ff967cc |
permissions | -rw-r--r-- |
9023 | 1 |
CMake |
2 |
================================================================================ |
|
3 |
(www.cmake.org) |
|
4 |
||
5 |
SDL's build system was traditionally based on autotools. Over time, this |
|
6 |
approach has suffered from several issues across the different supported |
|
7 |
platforms. |
|
8 |
To solve these problems, a new build system based on CMake is under development. |
|
9 |
It works in parallel to the legacy system, so users can experiment with it |
|
10 |
without complication. |
|
11 |
While still experimental, the build system should be usable on the following |
|
12 |
platforms: |
|
9066
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
13 |
|
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
14 |
* FreeBSD |
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
15 |
* Linux |
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
16 |
* VS.NET 2010 |
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
17 |
* MinGW and Msys |
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
18 |
* OS X with support for XCode |
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
19 |
|
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
20 |
|
9023 | 21 |
================================================================================ |
22 |
Usage |
|
23 |
================================================================================ |
|
24 |
||
25 |
Assuming the source for SDL is located at ~/sdl |
|
26 |
||
9066
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
27 |
cd ~ |
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
28 |
mkdir build |
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
29 |
cd build |
c2af3ff967cc
Fixed markdown formatting in READMEs.
Philipp Wiesemann <philipp.wiesemann@arcor.de>
parents:
9025
diff
changeset
|
30 |
cmake ../sdl |
9023 | 31 |
|
32 |
This will build the static and dynamic versions of SDL in the ~/build directory. |