summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2010-03-24 13:44:26 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2010-03-24 13:44:26 +0100
commit2575b946ffc8549f1ae2f7856beea566ce3d43c6 (patch)
treede9b38c4fb1d57b434bdbf297706ebfd21920f3e /INSTALL
parentca7b8112c91f55f0a4b908e55854320b434d8f1f (diff)
downloaddbus-2575b946ffc8549f1ae2f7856beea566ce3d43c6.tar.gz
Added cmake build system notes to README and INSTALL.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL36
1 files changed, 27 insertions, 9 deletions
diff --git a/INSTALL b/INSTALL
index 744851d4..e182f985 100644
--- a/INSTALL
+++ b/INSTALL
@@ -4,8 +4,10 @@
Quick start
===========
-DBus uses GNU AutoTools for its build system, thus the basic install
-procedure can be summarized as:
+DBus could be build with GNU AutoTools or with cmake for its build system,
+thus the basic install procedure can be summarized as:
+
+with autotools:
./configure --prefix=/usr
make
@@ -13,13 +15,29 @@ procedure can be summarized as:
The configure script will automatically determine whether to try and
build bindings for GLib, Qt, Qt3, Python and Mono based on what tools
-are installed on the host system. The default build behaviour can be
+are installed on the host system. The default build behaviour can be
overridden using the --enable-XXX/--disable-XXX arguments to configure.
A typical scenario in which it is desirable to override automatic
-detection, is during packaging of binary builds, where a predictable
-dependancy chain is required. For more details on GNU AutoTools
+detection, is during packaging of binary builds, where a predictable
+dependancy chain is required. For more details on GNU AutoTools
installation, consult the generic instructions later in this document
+with cmake:
+ mkdir dbus-build-dir
+ cd dbus-build-dir
+ cmake -G <makefile-generator-name> [-D<option>] <dbus-src-root>/cmake
+ make
+ make install
+
+cmake will automatically determine whether to build some features
+based on what tools and/or libraries are installed on the host system.
+The default build behaviour can be overridden using the
+-DENABLE_<XXX> arguments to cmake.
+A typical scenario in which it is desirable to override automatic
+detection, is during packaging of binary builds, where a predictable
+dependancy chain is required. For more details on cmake installation,
+consult http://www.cmake.org/cmake/help/help.html.
+
External software dependancies
==============================
@@ -40,10 +58,10 @@ Core library
Optional:
- - libselinux (for SELinux integration)
- - dnotify (for automatic service file reload)
- - doxygen (for API documentation)
- - xmlto (for Spec & other XML documentation)
+ - libselinux (for SELinux integration)
+ - dnotify (for automatic service file reload)
+ - doxygen (for API documentation)
+ - xmlto or meinproc4 (for Spec & other XML documentation)
====================================================================