1 BUILDING GEMRB WITH CMAKE
2 -------------------------
4 Tools you will need to build GemRB:
11 - Python 2.3 or better, compiled with shared libraries
13 - OpenAL (optional, for sound)
14 - SDL_mixer (optional, for fast lower-quality sound)
15 - libpng (optional, for the png importer plugin)
17 Building GemRB on unix-like systems
18 -----------------------------------
20 The following commands will try to configure, make and install GemRB.
27 By default, GemRB is installed into /usr/local ("fhs"). You can pass -DLAYOUT
28 with "home" or "opt" to change the general layout and -DPREFIX to change the
29 install path prefix. Check the toplevel CMakeLists.txt to get see all the
30 individual path components you can additionally alter.
32 Pass -DCMAKE_BUILD_TYPE=Debug to cmake if you want to create a debug build.
34 If you're on an exotic platform and get a lot of errors trying to build,
35 also pass -DDISABLE_WERROR=1, so warnings won't impede you. This option is
36 also suggested if you're making a source package.
38 Please let us know if you encounter any problems while building.
40 Building GemRB with mingw
41 -------------------------
43 The following commands will try to configure, make and install GemRB.
46 cmake .. -G "MinGW MakeFiles"
50 By default, GemRB is installed into c:\Program Files\GemRB . Supporting
51 files are mostly installed into the same directory.
53 See the following for an extensive build walkthrough:
54 http://forums.gibberlings3.net/index.php?showtopic=13087