summaryrefslogtreecommitdiff
path: root/README
blob: 7cca6dd5e3a62bbc68df09c3dfee596febad17d0 (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
51
52
53
54
55
56
57
58
Build with:

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

== CMake options ==

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

Library installation path:

LIB_INSTALL_DIR=/usr/lib

Set the installation prefix:

CMAKE_INSTALL_PREFIX=/usr

Installation location for header files:

INCLUDE_INSTALL_DIR=/usr/include/kolabxml

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 /usr/lib64, build python and phpbindings:

$cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib64 -DPYTHON_BINDINGS=TRUE -DPYTHON_INSTALL_DIR=/usr/lib64/python$x.$y/site-packages/ -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

For building test (controlled by -DBUILD_TESTS=TRUE):
-Qt >= 4.7


For further information see src/DEVELOPMENT.