author | sheepluva |
Thu, 01 Apr 2010 08:26:16 +0000 | |
changeset 3231 | a578cbf5d543 |
parent 2549 | 80ef2224a520 |
child 3301 | df0c2a29c3d7 |
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 |
|
2549 | 6 |
- SDL_mixer >= 1.2 |
470 | 7 |
- SDL_image >= 1.2 |
8 |
- SDL_ttf >= 2.0 |
|
2083 | 9 |
- CMake >= 2.6.0 |
2141 | 10 |
For server: |
2355 | 11 |
- Glasgow Haskell Compiler 6.10 |
2141 | 12 |
- dataenc package |
13 |
- hslogger package |
|
2355 | 14 |
- utf8-string package |
1006 | 15 |
|
470 | 16 |
1. Configure: |
1006 | 17 |
$ cmake . |
273 | 18 |
or |
2220 | 19 |
$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" -DDATA_INSTALL_DIR="data_dir" . |
20 |
||
21 |
add -DWITH_SERVER=1 to compile net server; to create a relocatable bundle under Mac OS X you can do |
|
470 | 22 |
|
2220 | 23 |
$ cmake -DCMAKE_BUILD_TYPE="Release" -DBUNDLE=1 . |
24 |
||
25 |
if you have QT installed but it is not found you can set it up with -DQT_QMAKE_EXECUTABLE="path_to_qmake" |
|
1415
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1006
diff
changeset
|
26 |
|
470 | 27 |
2. Compile: |
478
487cc99af415
users should compile and configure package under user account :)
displacer
parents:
470
diff
changeset
|
28 |
$ make |
470 | 29 |
|
30 |
3. Install: |
|
273 | 31 |
# make install |
32 |
||
2220 | 33 |
|
457 | 34 |
That's all! Enjoy! |