summaryrefslogtreecommitdiff
path: root/cmake/readme-cmake.txt
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-03-03 14:32:17 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-03-03 14:32:17 +0000
commit36ebfd411b358fb4797d31d23f945e8f6844d15a (patch)
tree9c8982d1da82fdffea8d2a741dba82e927874869 /cmake/readme-cmake.txt
parent4ceb86d29a68ebe52b20c8c090bc90c68a58f8c8 (diff)
* cmake: new directory, contains cmake build support.
See http://www.cmake.org for more informations. Currently only unix will be buildable because some win32 required files are still missing.
Diffstat (limited to 'cmake/readme-cmake.txt')
-rw-r--r--cmake/readme-cmake.txt54
1 files changed, 54 insertions, 0 deletions
diff --git a/cmake/readme-cmake.txt b/cmake/readme-cmake.txt
new file mode 100644
index 00000000..93500737
--- /dev/null
+++ b/cmake/readme-cmake.txt
@@ -0,0 +1,54 @@
+This directory contains configuration files for the cmake build system
+
+Requirements
+------------
+- cmake version >= 2.4.4 see http://www.cmake.org
+- installed libxml2 or libexpat
+
+Building
+--------
+
+unix
+1. install cmake and libxml or libexpat
+2. get dbus sources
+3. mkdir dbus-build
+4. cd dbus-build
+5. cmake <dbus-src-root>/cmake or cmake -DDBUS_USE_EXPAT=on <dbus-src-root>/cmake in case libexpat should de used
+5. make
+6. make install
+
+win32-mingw
+1. install cmake and libxml or libexpat in <ProgramDir>\gnuwin32
+2. get dbus sources
+3. mkdir dbus-build
+4. cd dbus-build
+5. cmake -G "MinGW Makefiles" <dbus-src-root>/cmake
+6. make
+7. make install
+
+win32-msvc
+1. install cmake and libxml or libexpat in <ProgramDir>\gnuwin32
+2. get dbus sources
+3. mkdir dbus-build
+4. cd dbus-build
+5. cmake -G <msvc available target, see cmake --help for a list" <dbus-src-root>/cmake
+6. make
+7. make install
+
+
+Some build options (use -D<key>=<value> on command line)
+------------------
+ key description default value
+ --- ----------- -------------
+DBUS_USE_EXPAT "Use expat (== ON) or libxml2 (==OFF) OFF
+DBUS_DISABLE_ASSERTS "Disable assertion checking" OFF
+DBUS_BUILD_TESTS "enable unit test code" ON
+DBUS_ENABLE_ANSI "enable -ansi -pedantic gcc flags" OFF
+DBUS_ENABLE_GCOV "compile with coverage profiling
+ instrumentation (gcc only)" OFF
+DBUS_ENABLE_VERBOSE_MODE "support verbose debug mode" ON
+DBUS_DISABLE_CHECKS "Disable public API sanity checking" OFF
+DBUS_INSTALL_SYSTEM_LIBS "install required system libraries
+ (mingw: libxml2, libiconv, mingw10)" OFF
+CMAKE_BUILD_TYPE "build type (== debug) or (== release) release
+