Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Platform Team/Polyol
(view source)
Revision as of 22:43, 28 June 2010
502 bytes added
,
22:43, 28 June 2010
→Build for non-0install usage
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
Alsroot
Bots
,
Bureaucrats
,
Check users
,
Administrators
,
Widget editors
5,705
edits