INSTALL
changeset 1415 6fbfee0e113a
parent 1006 8a0ed701eafb
child 1853 5618915f9ea4
equal deleted inserted replaced
1414:971136fa0a80 1415:6fbfee0e113a
     1 To compile and install you need:
     1 To compile and install you need:
     2  - Qt >= 4.2
     2  - Qt >= 4.4
     3  - FreePascal >= 1.9.4
     3  - FreePascal >= 2.2.0
     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
    11 1. Configure:
    11 1. Configure:
    12 $ cmake .
    12 $ cmake .
    13 or
    13 or
    14 $ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir" .
    14 $ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir" .
    15 
    15 
       
    16 add -DWITH_SERVER=1 to compile net server (requires Glasgow Haskell Compiler)
       
    17 
    16 2. Compile:
    18 2. Compile:
    17 $ make
    19 $ make
    18 
    20 
    19 3. Install:
    21 3. Install:
    20 # make install
    22 # make install