summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README30
1 files changed, 29 insertions, 1 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/)