INSTALL
changeset 5053 a767954cfa03
parent 4274 8292066cb45c
child 7562 a79082c2a28e
equal deleted inserted replaced
5052:74a81c276d67 5053:a767954cfa03
     1 To compile and install you need:
     1 To compile and install you need:
     2  - Qt >= 4.4
     2  - Qt >= 4.5
     3  - FreePascal >= 2.2.4
     3  - FreePascal >= 2.2.4
     4  - SDL >= 1.2.5
     4  - SDL >= 1.2.5
     5  - SDL_net >= 1.2.5
     5  - SDL_net >= 1.2.5
     6  - SDL_mixer >= 1.2
     6  - SDL_mixer >= 1.2
     7  - SDL_image >= 1.2
     7  - SDL_image >= 1.2
     8  - SDL_ttf >= 2.0
     8  - SDL_ttf >= 2.0
     9  - CMake >= 2.6.0
     9  - CMake >= 2.6.0
    10  - Lua >= 5.1.0
    10  - Lua >= 5.1.0
    11 For server:
    11 For server:
    12  - Glasgow Haskell Compiler 6.10
    12  - Glasgow Haskell Compiler >= 6.10
       
    13  - bytestring-show package
    13  - dataenc package
    14  - dataenc package
    14  - hslogger package
    15  - hslogger package
    15  - utf8-string package
       
    16 
    16 
    17 1. Configure:
    17 1. Configure:
    18 $ cmake .
    18 $ cmake .
    19 or
    19 or
    20 $ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" -DDATA_INSTALL_DIR="data_dir" .
    20 $ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" \
       
    21 -DDATA_INSTALL_DIR="data_dir" .
    21 
    22 
    22 add -DWITH_SERVER=1 to compile net server; to create a relocatable bundle under Mac OS X you can do
    23 add -DWITH_SERVER=1 to compile net server; if you have Qt installed but it is
    23 
    24 not found you can set it up with -DQT_QMAKE_EXECUTABLE="path_to_qmake"
    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"
       
    27 
    25 
    28 2. Compile:
    26 2. Compile:
    29 $ make
    27 $ make
    30 
    28 
    31 3. Install:
    29 3. Install: