]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Add xsltproc usage to README.cmake
authorRalf Habacker <ralf.habacker@freenet.de>
Tue, 20 Nov 2018 13:19:59 +0000 (14:19 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Tue, 20 Nov 2018 14:57:21 +0000 (15:57 +0100)
README.cmake

index 2fe33dcd4af39403729d22dd789069cf20c1a707..40e543a685599ecac97d37e209b15a01ab386b05 100644 (file)
@@ -6,13 +6,16 @@ Requirements
 - installed libexpat see http://sourceforge.net/projects/expat/ 
     unsupported RelWithDebInfo builds could be fetched 
     from http://sourceforge.net/projects/kde-windows/files/expat/
+- for generating documentation based on docbook files
+    - xsltproc (provided by the distribution or from http://xmlsoft.org/XSLT/xsltproc2.html) and
+    - docbook dtd and stylesheets (provided by the distribution or from https://sourceforge.net/projects/docbook/)
 
 Building
 --------
 
 Win32 MinGW-w64|32
 1. install mingw-w64 from http://sourceforge.net/projects/mingw-w64/
-2. install cmake and libexpat
+2. install cmake, libexpat and optional xsltproc and docbook dtd and stylesheets
 3. get dbus sources
 4. unpack dbus sources into a sub directory (referred as <dbus-src-root> later)
 5. mkdir dbus-build
@@ -24,7 +27,7 @@ Win32 MinGW-w64|32
 
 Win32 Microsoft nmake
 1. install MSVC 2010 Express Version from http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express
-2. install cmake and libexpat
+2. install cmake, libexpat and optional xsltproc and docbook dtd and stylesheets
 3. get dbus sources
 4. unpack dbus sources into a sub directory (referred as <dbus-src-root> later)
 5. mkdir dbus-build
@@ -36,7 +39,7 @@ Win32 Microsoft nmake
 
 Win32 Visual Studio 2010 Express IDE
 1. install MSVC 2010 Express Version from http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express
-2. install cmake and libexpat
+2. install cmake, libexpat and optional xsltproc and docbook dtd and stylesheets
 3. get dbus sources
 4. unpack dbus sources into a sub directory (referred as <dbus-src-root> later)
 5. mkdir dbus-build
@@ -50,7 +53,7 @@ Win32 Visual Studio 2010 Express IDE
 
 Win32 Visual Studio 2010 Professional IDE
 1. install MSVC 2010 Professional Version
-2. install cmake and libexpat
+2. install cmake, libexpat and optional xsltproc and docbook dtd and stylesheets
 3. get dbus sources
 4. unpack dbus sources into a sub directory (referred as <dbus-src-root> later)
 5. mkdir dbus-build
@@ -63,7 +66,7 @@ Win32 Visual Studio 2010 Professional IDE
       devenv dbus.sln /build
 
 Linux
-1. install cmake and libexpat
+2. install cmake, libexpat and optional xsltproc and docbook dtd and stylesheets
 2. get dbus sources
 3. unpack dbus sources into a sub directory (referred as <dbus-src-root> later)
 4. mkdir dbus-build
@@ -82,6 +85,12 @@ When using the cmake build system the dbus-specific configuration flags that can
 to the cmake program are these (use -D<key>=<value> on command line). The listed values 
 are the defaults (in a typical build - some are platform-specific).
 
+// in case cmake is not able to determine the xsltproc executable (optional)
+XSLTPROC_EXECUTABLE=<path to xsltproc executable)
+
+// in case cmake is not able to determine the installation of the docbook stylesheets (optional)
+DOCBOOKXSL_DIR=<path to docbook stylesheets)
+
 // Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
 // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
 CMAKE_BUILD_TYPE:STRING=Debug
@@ -169,11 +178,9 @@ MSVC only (Visual Studio >= 2012):
 // Enable code analyzing for MSVC compiler: /analyze
 DBUS_MSVC_ANALYZE:BOOL=OFF
 
-
-Note: The above mentioned options could be extracted after 
-configuring from the output of running "<maketool> help-options" 
-in the build directory. The related entries start with 
-CMAKE_ or DBUS_. 
+Note: Above mentioned options starting with DBUS_ or CMAKE_ could
+be extracted after configuring from the output of running
+"<maketool> help-options" in the build directory.
 
 
 How to compile in dbus into clients with cmake