summaryrefslogtreecommitdiff
path: root/README
blob: c4be6318adce494237ded01c0c5d58a5c3dee559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Build with:

$mkdir build
$cd build
$cmake ..
$make

== CMake options ==

Options can either be supplied on the commandline or edited in the cmake cache.

To install to lib64 instead of lib:
LIB_INSTALL_DIR_SUFFIX=/usr/lib64

If your distro uses lib64 paths and some packages can not be found try:
CMAKE_PREFIX_PATH=/usr/lib64

Building of bindings can be controlled using cmake configuration options:
PYTHON_BINDINGS
PHP_BINDINGS
JAVA_BINDINGS
CSHARP_BINDINGS

The path to install the bindings:
PYTHON_INSTALL_DIR
PHP_INSTALL_DIR
JAVA_INSTALL_DIR
CSHARP_INSTALL_DIR

=== Example ===

Find libraries in lib64, install to lib64, build python and phpbindings:
$cmake -DCMAKE_PREFIX_PATH=/usr/lib64 -DLIB_INSTALL_DIR_SUFFIX=64 -DPYTHON_BINDINGS=TRUE -DPYTHON_INSTALL_DIR=/usr/local/pythonbindings -DPHP_BINDINGS=TRUE ..

== Requirements ==

Minimum requirements are:
-cmake 2.6
-boost >= 1.41
-xerces-c >= 3.0
-cxx >= 3.0 (http://www.codesynthesis.com/products/xsd/)

For further features:
-SWIG >= 2.0
-QT >= 4.7
-KCalCore/KDECore >= 4.7


For further information see lib/DEVELOPMENT.