author | unc0rr |
Mon, 12 Jan 2009 21:49:41 +0000 | |
changeset 1655 | 16f687fc18e3 |
parent 1415 | 6fbfee0e113a |
child 1853 | 5618915f9ea4 |
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 |
|
499 | 9 |
- CMake >= 2.4.4 |
1006 | 10 |
|
470 | 11 |
1. Configure: |
1006 | 12 |
$ cmake . |
273 | 13 |
or |
680 | 14 |
$ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir" . |
470 | 15 |
|
1415
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1006
diff
changeset
|
16 |
add -DWITH_SERVER=1 to compile net server (requires Glasgow Haskell Compiler) |
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1006
diff
changeset
|
17 |
|
470 | 18 |
2. Compile: |
478
487cc99af415
users should compile and configure package under user account :)
displacer
parents:
470
diff
changeset
|
19 |
$ make |
470 | 20 |
|
21 |
3. Install: |
|
273 | 22 |
# make install |
23 |
||
457 | 24 |
That's all! Enjoy! |