Changes

Line 70: Line 70:     
Install required dependencies
 
Install required dependencies
* [http://cmake.org/ cmake]
+
* [http://cmake.org/ cmake] >= 2.6
* [http://live.gnome.org/Libgee gee] > 0.5
+
* [http://live.gnome.org/Libgee gee] >= 0.5
    
Download last [http://download.sugarlabs.org/services/polyol/ tarball].
 
Download last [http://download.sugarlabs.org/services/polyol/ tarball].
Line 77: Line 77:  
Build it:
 
Build it:
   −
  cmake <path-to-sources-root> && make && make install
+
  cd <sources-root> && cmake [-D<var-name>=<var-value>] . && make && make install
 +
 
 +
Useful cmake variables:
 +
* ''MAINTAINER_MODE'', set to ''TRUE'' to recreate generated files, default is ''FALSE''
 +
* ''CMAKE_C_FLAGS''
 +
* ''CMAKE_INSTALL_PREFIX'', default is ''/usr/local''
 +
* ''PYTHON_SITEDIR'', path within ''CMAKE_INSTALL_PREFIX'' to install python libraries, default is ''lib''
 +
* ''COMPONENTS'', '';'' separated list of components to build, default is all components
 +
* ''BINDINGS'', '';'' separated list of bindings to build, default is all bindings