Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d7b88456 authored by Michael Pyne's avatar Michael Pyne

Be more descriptive about what is needed to get cxxflags to work in the...

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
parent 06869636
......@@ -1149,7 +1149,7 @@ for all &kde; 4 modules, since they use &cmake; to build.</para>
<para>Since these options are passed directly to the &cmake; command line, they
should be given as they would be typed into &cmake;. For example:</para>
<screen> cmake-options -DKDE4_BUILD_TESTS=ON
<screen> cmake-options -DCMAKE_BUILD_TYPE=RelWithDebInfo
</screen>
<para>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
<row id="conf-cxxflags">
<entry>cxxflags</entry>
<entry>Appends to global option</entry>
<entry>Use this option to specify what flags to pass to <command>./configure</command> as the
<entry><para>Use this option to specify what flags to pass to <command>./configure</command> as the
<envar>CXXFLAGS</envar> when creating the build system for the module. This option is
specified here instead of with <link
linkend="conf-configure-flags">configure-flags</link> or <link
linkend="conf-cmake-options">cmake-options</link> because this option will also
set the environment variable <envar>CXXFLAGS</envar> during the build process.
set the environment variable <envar>CXXFLAGS</envar> during the build process.</para>
<para>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
<link linkend="conf-cmake-options">cmake-options</link> option.</para>
</entry>
</row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment