From d7b884567084c3f7311c79eec124b769c27866ce Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Sun, 28 Sep 2008 04:10:07 +0000 Subject: [PATCH] Be more descriptive about what is needed to get cxxflags to work in the Docbook documentation for kdesvn-build svn path=/trunk/KDE/kdesdk/doc/scripts/kdesvn-build/; revision=865564 --- doc/index.docbook | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/index.docbook b/doc/index.docbook index 84d85d3..b076229 100644 --- a/doc/index.docbook +++ b/doc/index.docbook @@ -1149,7 +1149,7 @@ for all &kde; 4 modules, since they use &cmake; to build. Since these options are passed directly to the &cmake; command line, they should be given as they would be typed into &cmake;. For example: - cmake-options -DKDE4_BUILD_TESTS=ON + cmake-options -DCMAKE_BUILD_TYPE=RelWithDebInfo Since this is a hassle, &kdesvn-build; takes pains to ensure that as long @@ -1186,12 +1186,16 @@ color codes to anything but a terminal (such as xterm, &konsole;, or the normal cxxflags Appends to global option -Use this option to specify what flags to pass to ./configure as the +Use this option to specify what flags to pass to ./configure as the CXXFLAGS when creating the build system for the module. This option is specified here instead of with configure-flags or cmake-options because this option will also -set the environment variable CXXFLAGS during the build process. +set the environment variable CXXFLAGS during the build process. + +Note that for &kde; 4 and any other modules that use &cmake;, it is necessary to set the +CMAKE_BUILD_TYPE option to "none" when configuring the module. This can be done using the +cmake-options option.