INSTALL
author koda
Sat, 04 Sep 2010 16:24:11 +0200
changeset 3830 5c7af1bf692a
parent 3322 80afcb97eb46
child 4274 8292066cb45c
permissions -rw-r--r--
Added tag Hedgewars-iOS-1.0 for changeset 81db3c85784b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
273
3cc5b4dd6770 Add installation manual
unc0rr
parents:
diff changeset
     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
3322
80afcb97eb46 * INSTALL file: setting FreePascal to >= 2.2.0
sheepluva
parents: 3301
diff changeset
     3
 - FreePascal >= 2.2.4
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
     4
 - SDL >= 1.2.5
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
     5
 - SDL_net >= 1.2.5
2549
80ef2224a520 Update dependencies list
unc0rr
parents: 2355
diff changeset
     6
 - SDL_mixer >= 1.2
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
     7
 - SDL_image >= 1.2
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
     8
 - SDL_ttf >= 2.0
2083
1db8157e2f57 Fix INSTALL
unc0rr
parents: 1853
diff changeset
     9
 - CMake >= 2.6.0
3301
smxx
parents: 2549
diff changeset
    10
 - Lua >= 5.1.0
2141
3b06505dbd5d Fix some cake bugs
unc0rr
parents: 2107
diff changeset
    11
For server:
2355
5c0cada78ea6 Update server dependancies list
unc0rr
parents: 2220
diff changeset
    12
 - Glasgow Haskell Compiler 6.10
2141
3b06505dbd5d Fix some cake bugs
unc0rr
parents: 2107
diff changeset
    13
 - dataenc package
3b06505dbd5d Fix some cake bugs
unc0rr
parents: 2107
diff changeset
    14
 - hslogger package
2355
5c0cada78ea6 Update server dependancies list
unc0rr
parents: 2220
diff changeset
    15
 - utf8-string package
1006
8a0ed701eafb Some fixes
unc0rr
parents: 680
diff changeset
    16
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
    17
1. Configure:
1006
8a0ed701eafb Some fixes
unc0rr
parents: 680
diff changeset
    18
$ cmake .
273
3cc5b4dd6770 Add installation manual
unc0rr
parents:
diff changeset
    19
or
2220
110266ba2ef7 -new openal api for setting sound position
koda
parents: 2141
diff changeset
    20
$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" -DDATA_INSTALL_DIR="data_dir" .
110266ba2ef7 -new openal api for setting sound position
koda
parents: 2141
diff changeset
    21
110266ba2ef7 -new openal api for setting sound position
koda
parents: 2141
diff changeset
    22
add -DWITH_SERVER=1 to compile net server; to create a relocatable bundle under Mac OS X you can do
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
    23
2220
110266ba2ef7 -new openal api for setting sound position
koda
parents: 2141
diff changeset
    24
$ cmake -DCMAKE_BUILD_TYPE="Release" -DBUNDLE=1 .
110266ba2ef7 -new openal api for setting sound position
koda
parents: 2141
diff changeset
    25
110266ba2ef7 -new openal api for setting sound position
koda
parents: 2141
diff changeset
    26
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
    27
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
    28
2. Compile:
478
487cc99af415 users should compile and configure package under user account :)
displacer
parents: 470
diff changeset
    29
$ make
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
    30
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
    31
3. Install:
273
3cc5b4dd6770 Add installation manual
unc0rr
parents:
diff changeset
    32
# make install
3cc5b4dd6770 Add installation manual
unc0rr
parents:
diff changeset
    33
2220
110266ba2ef7 -new openal api for setting sound position
koda
parents: 2141
diff changeset
    34
457
35cc5a6c0e45 Don't let text file to confuse a terminal
unc0rr
parents: 456
diff changeset
    35
That's all! Enjoy!