Make component interfaces inherit Component.
[tagua/yd.git] / INSTALL
blob115e57341573b427dfb6db627283072221e61fe6
1 What you need
2 ==================
4   * A KDE4 development environment with kdelibs and libkdegames (>= KDE 3.92)
5   * boost 1.34 (headers will suffice)
7 Further you will need GNU make, a working C++ compiler (e.g. gcc 3.4.x or later)
8 and CMake 2.4.7 or later.
10 The following packages are optional:
12   * lua (5.1.1, if it is not available you can use the internal copy)
14 Preparations
15 ==================
17 Setting up a KDE4 development environment:
19 Follow the tutorial at http://techbase.kde.org/Getting_Started/Build/KDE4
21 Alternatively, you can install KDE beta packages if your system supports them 
22 (e.g. debian, kubuntu, openSUSE).
24 Compiling Tagua
25 ==================
27 Unpack the Tagua package, change to the package root directory, and type:
29 mkdir build
30 cd build
31 cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=release ..
32 make -j2
33 make install
35 If you want tagua to be linked to system lua instead that the internall one,
36 add -DSYSTEM_LUA=1 to the command line, and optionally add -DLUA_PKG=xyz to
37 specify the pkg-config lua package.