summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2012-04-21 15:46:14 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2012-04-21 15:46:14 (GMT)
commit63ee4b675acff953f7f8f6d37f2aecc88151df55 (patch)
tree7eac91ff0c932606dfc81eba0a9e8815f00b8b37
parent13f2f6138eb63401579279139e226dc3165162d4 (diff)
downloadlibkolabxml-63ee4b675acff953f7f8f6d37f2aecc88151df55.tar.gz
Updated readme files.
-rw-r--r--README30
-rw-r--r--README-Mac.txt2
2 files changed, 30 insertions, 2 deletions
diff --git a/README b/README
index 88b9c36..c4be631 100644
--- a/README
+++ b/README
@@ -5,10 +5,38 @@ $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.47
+-boost >= 1.41
-xerces-c >= 3.0
-cxx >= 3.0 (http://www.codesynthesis.com/products/xsd/)
diff --git a/README-Mac.txt b/README-Mac.txt
index b848457..2b77400 100644
--- a/README-Mac.txt
+++ b/README-Mac.txt
@@ -8,7 +8,7 @@
rm -rf build/
mkdir -p build
cd build
-cmake -DKOLAB_PHP_INSTALL_DIR:PATH=/usr/lib/php/extensions/no-debug-non-zts-20090626 -DCMAKE_INCLUDE_PATH:PATH=/opt/local/include -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
+cmake -DPHP_INSTALL_DIR:PATH=/usr/lib/php/extensions/no-debug-non-zts-20090626 -DCMAKE_INCLUDE_PATH:PATH=/opt/local/include -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
sudo make install