File: INSTALL

package info (click to toggle)
hedgewars 0.9.22-dfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 196,424 kB
  • ctags: 22,040
  • sloc: ansic: 48,026; pascal: 46,947; cpp: 23,904; java: 8,210; haskell: 6,184; xml: 2,676; objc: 363; sh: 273; python: 105; makefile: 35
file content (49 lines) | stat: -rw-r--r-- 1,208 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
To compile and install you need:
 - CMake >= 2.6.0
 - FreePascal >= 2.2.4
 - Qt >= 4.7.0
 - SDL >= 1.2.5
 - SDL_net >= 1.2.5
 - SDL_mixer >= 1.2
 - SDL_image >= 1.2
 - SDL_ttf >= 2.0
 - Lua = 5.1.0
 - Physfs >= 2.0.0
For server:
 - Glasgow Haskell Compiler >= 6.10
 - bytestring-show package
 - dataenc package
 - hslogger package
For videorecording:
 - FFmpeg or LibAV
 - GLUT (when SDL < 2)
For compressed screenshots:
 - libpng

Lua will be automatically built if not found.

PhysFS will internally built unless -DPHYSFS_SYSTEM=on is passed to cmake
(also allows to set PHYSFS_LIBRARY and PHYSFS_INCLUDE_DIR if needed).

1. Configure:
$ cmake .
or
$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" \
-DDATA_INSTALL_DIR="data_dir" -DNOSERVER=1 .

Add -DNOSERVER=0 to compile net server (remember to check out the additional
dependencies with the hedgewars-server.cabal configuration file. If you have
Qt installed but it is not found, you can set it up with
-DQT_QMAKE_EXECUTABLE="path_to_qmake".
To get a glimpse of the main configuration options, you may use this command
`cat CMakeLists.txt | grep option`

2. Compile:
$ make

3. Install:
# make install


That's all! Enjoy!