Add a tip in the opt_CONFIGURE_ON section pointing to with/enable and
convert the paragraph about the same in CMAKE_ON to a tip. Sponsored by: Absolight
This commit is contained in:
parent
6de029f6bd
commit
508240f619
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50344
1 changed files with 11 additions and 2 deletions
|
|
@ -5812,6 +5812,13 @@ CONFIGURE_ARGS+= --add-test
|
|||
.else
|
||||
CONFIGURE_ARGS+= --no-test
|
||||
.endif</programlisting>
|
||||
|
||||
<tip>
|
||||
<para>Most of the time, the helpers in <xref
|
||||
linkend="options-configure_enable"/> and <xref
|
||||
linkend="options-configure_with"/> provide a shorter
|
||||
and more comprehensive functionality.</para>
|
||||
</tip>
|
||||
</sect3>
|
||||
|
||||
<sect3 xml:id="options-cmake_on">
|
||||
|
|
@ -5843,8 +5850,10 @@ CMAKE_ARGS+= -DTEST:BOOL=true -DDEBUG:BOOL=true
|
|||
CMAKE_ARGS+= -DOPTIMIZE:BOOL=true
|
||||
.endif</programlisting>
|
||||
|
||||
<para>See <xref linkend="options-cmake_bool"/> for a shorter
|
||||
helper when the value is boolean.</para>
|
||||
<tip>
|
||||
<para>See <xref linkend="options-cmake_bool"/> for a shorter
|
||||
helper when the value is boolean.</para>
|
||||
</tip>
|
||||
</sect3>
|
||||
|
||||
<sect3 xml:id="options-cmake_bool">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue