1 This directory contains configuration files for the cmake build system 2 3 Requirements 4 ------------ 5 - cmake version >= 2.4.4 see http://www.cmake.org 6 - installed libxml2 or libexpat 7 8 Building 9 -------- 10 11 unix 12 1. install cmake and libxml or libexpat 13 2. get dbus sources 14 3. mkdir dbus-build 15 4. cd dbus-build 16 5. cmake <dbus-src-root>/cmake or cmake -DDBUS_USE_EXPAT=on <dbus-src-root>/cmake in case libexpat should de used 17 5. make 18 6. make install 19 20 win32-mingw 21 1. install cmake and libxml or libexpat in <ProgramDir>\gnuwin32 22 2. get dbus sources 23 3. mkdir dbus-build 24 4. cd dbus-build 25 5. cmake -G "MinGW Makefiles" <dbus-src-root>/cmake 26 6. make 27 7. make install 28 29 win32-msvc 30 1. install cmake and libxml or libexpat in <ProgramDir>\gnuwin32 31 2. get dbus sources 32 3. mkdir dbus-build 33 4. cd dbus-build 34 5. cmake -G <msvc available target, see cmake --help for a list" <dbus-src-root>/cmake 35 6. make 36 7. make install 37 38 39 Some build options (use -D<key>=<value> on command line) 40 ------------------ 41 key description default value 42 --- ----------- ------------- 43 DBUS_USE_EXPAT "Use expat (== ON) or libxml2 (==OFF) OFF 44 DBUS_DISABLE_ASSERTS "Disable assertion checking" OFF 45 DBUS_BUILD_TESTS "enable unit test code" ON 46 DBUS_ENABLE_ANSI "enable -ansi -pedantic gcc flags" OFF 47 DBUS_ENABLE_GCOV "compile with coverage profiling 48 instrumentation (gcc only)" OFF 49 DBUS_ENABLE_VERBOSE_MODE "support verbose debug mode" ON 50 DBUS_DISABLE_CHECKS "Disable public API sanity checking" OFF 51 DBUS_INSTALL_SYSTEM_LIBS "install required system libraries 52 (mingw: libxml2, libiconv, mingw10)" OFF 53 CMAKE_BUILD_TYPE "build type (== debug) or (== release) release 54 55