~ubuntu-branches/ubuntu/utopic/hedgewars/utopic

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Package Import Robot
  • Author(s): Dmitry E. Oboukhov
  • Date: 2011-09-23 10:16:55 UTC
  • mto: (19.1.2 sid) (1.3.1) (21.1.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: package-import@ubuntu.com-20110923101655-yrajfbj5b0v4asbt
Tags: upstream-0.9.16
ImportĀ upstreamĀ versionĀ 0.9.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
To compile and install you need:
2
 
 - Qt >= 4.4
 
2
 - Qt >= 4.5
3
3
 - FreePascal >= 2.2.4
4
4
 - SDL >= 1.2.5
5
5
 - SDL_net >= 1.2.5
9
9
 - CMake >= 2.6.0
10
10
 - Lua >= 5.1.0
11
11
For server:
12
 
 - Glasgow Haskell Compiler 6.10
 
12
 - Glasgow Haskell Compiler >= 6.10
 
13
 - bytestring-show package
13
14
 - dataenc package
14
15
 - hslogger package
15
 
 - utf8-string package
16
16
 
17
17
1. Configure:
18
18
$ cmake .
19
19
or
20
 
$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" -DDATA_INSTALL_DIR="data_dir" .
21
 
 
22
 
add -DWITH_SERVER=1 to compile net server; to create a relocatable bundle under Mac OS X you can do
23
 
 
24
 
$ cmake -DCMAKE_BUILD_TYPE="Release" -DBUNDLE=1 .
25
 
 
26
 
if you have Qt installed but it is not found you can set it up with -DQT_QMAKE_EXECUTABLE="path_to_qmake"
 
20
$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" \
 
21
-DDATA_INSTALL_DIR="data_dir" .
 
22
 
 
23
add -DWITH_SERVER=1 to compile net server; if you have Qt installed but it is
 
24
not found you can set it up with -DQT_QMAKE_EXECUTABLE="path_to_qmake"
27
25
 
28
26
2. Compile:
29
27
$ make