author | unc0rr |
Sun, 07 Jun 2009 07:42:40 +0000 | |
changeset 2150 | 45b695f3a7b9 |
parent 2141 | 3b06505dbd5d |
child 2220 | 110266ba2ef7 |
permissions | -rw-r--r-- |
273 | 1 |
To compile and install you need: |
1415
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1006
diff
changeset
|
2 |
- Qt >= 4.4 |
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1006
diff
changeset
|
3 |
- FreePascal >= 2.2.0 |
470 | 4 |
- SDL >= 1.2.5 |
5 |
- SDL_net >= 1.2.5 |
|
6 |
- SDL_mixer >= 1.2 |
|
7 |
- SDL_image >= 1.2 |
|
8 |
- SDL_ttf >= 2.0 |
|
2083 | 9 |
- CMake >= 2.6.0 |
2141 | 10 |
For server: |
11 |
- Glasgow Haskell Compiler 6.8.3 |
|
12 |
- dataenc package |
|
13 |
- hslogger package |
|
1006 | 14 |
|
470 | 15 |
1. Configure: |
1006 | 16 |
$ cmake . |
273 | 17 |
or |
680 | 18 |
$ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir" . |
470 | 19 |
|
2141 | 20 |
add -DWITH_SERVER=1 to compile net server |
1415
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1006
diff
changeset
|
21 |
|
470 | 22 |
2. Compile: |
478
487cc99af415
users should compile and configure package under user account :)
displacer
parents:
470
diff
changeset
|
23 |
$ make |
470 | 24 |
|
25 |
3. Install: |
|
273 | 26 |
# make install |
27 |
||
457 | 28 |
That's all! Enjoy! |