equal
deleted
inserted
replaced
1 To compile and install you need: |
1 INSTALL.md |
2 - CMake >= 2.6.0 |
|
3 - FreePascal >= 2.2.4 |
|
4 - Qt >= 4.7.0 |
|
5 - SDL >= 2.0 |
|
6 - SDL_net >= 2.0 |
|
7 - SDL_mixer >= 2.0 |
|
8 - SDL_image >= 2.0 |
|
9 - SDL_ttf >= 2.0 |
|
10 - Lua = 5.1.0 |
|
11 - Physfs >= 2.0.0 |
|
12 For server: |
|
13 - Glasgow Haskell Compiler >= 6.10 |
|
14 - sandi package |
|
15 - hslogger package |
|
16 - regex-tdfa package |
|
17 For videorecording: |
|
18 - FFmpeg or LibAV |
|
19 For compressed screenshots: |
|
20 - libpng |
|
21 |
|
22 Lua will be automatically built if not found. |
|
23 |
|
24 PhysFS will internally built unless -DPHYSFS_SYSTEM=on is passed to cmake |
|
25 (also allows to set PHYSFS_LIBRARY and PHYSFS_INCLUDE_DIR if needed). |
|
26 |
|
27 1. Configure: |
|
28 $ cmake . |
|
29 or |
|
30 $ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" \ |
|
31 -DDATA_INSTALL_DIR="data_dir" -DNOSERVER=1 . |
|
32 |
|
33 Add -DNOSERVER=0 to compile net server (remember to check out the additional |
|
34 dependencies with the hedgewars-server.cabal configuration file. If you have |
|
35 Qt installed but it is not found, you can set it up with |
|
36 -DQT_QMAKE_EXECUTABLE="path_to_qmake". |
|
37 To get a glimpse of the main configuration options, you may use this command |
|
38 `cat CMakeLists.txt | grep option` |
|
39 |
|
40 2. Compile: |
|
41 $ make |
|
42 |
|
43 3. Install: |
|
44 # make install |
|
45 |
|
46 |
|
47 That's all! Enjoy! |
|
48 |
|