From 2575b946ffc8549f1ae2f7856beea566ce3d43c6 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Wed, 24 Mar 2010 13:44:26 +0100 Subject: [PATCH] Added cmake build system notes to README and INSTALL. --- INSTALL | 36 +++++++++++++++++++++++++++--------- README | 64 ++++++++++++++++++++++++++++++++++++++++++++++++---------------- 2 files changed, 75 insertions(+), 25 deletions(-) diff --git a/INSTALL b/INSTALL index 744851d..e182f98 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 [-D