summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-12 12:21:49 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-12 12:21:49 (GMT)
commitf10ffa4e863139e506d71c59340a3c6361863c97 (patch)
treeae14115a9f2d128238dbe59bdd08a6a3696cb746
parent6e3bbcfc13dde9a213e4be1eff661ef85d5496e2 (diff)
downloadlibkolabxml-f10ffa4e863139e506d71c59340a3c6361863c97.tar.gz
Update readme to reflect build system changes
-rw-r--r--README17
1 files changed, 12 insertions, 5 deletions
diff --git a/README b/README
index ab66976..052b3d9 100644
--- a/README
+++ b/README
@@ -9,11 +9,17 @@ $make
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=64
+Library installation path:
-If your distro uses lib64 paths and some packages can not be found try:
-CMAKE_PREFIX_PATH=/usr/lib64
+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
@@ -30,7 +36,8 @@ CSHARP_INSTALL_DIR
=== Example ===
Find libraries in lib64, install to /usr/lib64, build python and phpbindings:
-$cmake -DCMAKE_PREFIX_PATH=/usr/lib64 -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR_SUFFIX=64 -DPYTHON_BINDINGS=TRUE -DPYTHON_INSTALL_DIR=/usr/local/pythonbindings -DPHP_BINDINGS=TRUE ..
+
+$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 ==