INSTALL
branchhedgeroid
changeset 15515 7030706266df
parent 12756 838515c4e6c5
equal deleted inserted replaced
7861:bc7b6aa5d67a 15515:7030706266df
     1 To compile and install you need:
     1 INSTALL.md
     2  - Qt >= 4.5
       
     3  - FreePascal >= 2.2.4
       
     4  - SDL >= 1.2.5
       
     5  - SDL_net >= 1.2.5
       
     6  - SDL_mixer >= 1.2
       
     7  - SDL_image >= 1.2
       
     8  - SDL_ttf >= 2.0
       
     9  - CMake >= 2.6.0
       
    10  - Lua >= 5.1.0
       
    11 For server:
       
    12  - Glasgow Haskell Compiler >= 6.10
       
    13  - bytestring-show package
       
    14  - dataenc package
       
    15  - hslogger package
       
    16 
       
    17 1. Configure:
       
    18 $ cmake .
       
    19 or
       
    20 $ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" \
       
    21 -DDATA_INSTALL_DIR="data_dir" -DNOSERVER=1 .
       
    22 
       
    23 add -DNOSERVER=0 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"
       
    25 
       
    26 2. Compile:
       
    27 $ make
       
    28 
       
    29 3. Install:
       
    30 # make install
       
    31 
       
    32 
       
    33 That's all! Enjoy!