#
SET_IF_EMPTY(DEAL_II_CMAKE_MACROS_RELDIR "cmake/macros")
SET_IF_EMPTY(DEAL_II_COMMON_RELDIR "common")
- SET_IF_EMPTY(DEAL_II_DOCREADME_RELDIR "")
SET_IF_EMPTY(DEAL_II_DOCHTML_RELDIR "doc")
+ SET_IF_EMPTY(DEAL_II_DOCREADME_RELDIR "")
SET_IF_EMPTY(DEAL_II_EXAMPLES_RELDIR "examples")
SET_IF_EMPTY(DEAL_II_EXECUTABLE_RELDIR "bin")
IF( "${CMAKE_INSTALL_PREFIX}" STREQUAL "${CMAKE_BINARY_DIR}" AND
<ul>
<li><a href="#operatingmanip">Manipulating the cache</a>
<li><a href="#operatingccmake"><code>ccmake</code> and special build targets </a>
+ <li><a href="#operatingshortcuts">Shortcuts</a>
</ul>
<li><a href="#configure">Configuration options</a>
<ul>
<a name="operatingmanip"></a>
<h4> Manipulating the cache </h4>
+ <p>
A cached variable can be set on the command line via
<pre>
cmake -U"DEAL_II_WITH_*" .
</pre>
+ </p>
<a name="operatingccmake"></a>
<h4> <code>ccmake</code> and special build targets </h4>
+ <p>
A very convenient way to alter the configuration is to use the graphical
user interface <code>ccmake</code> to the
variables <code>cmake</code> stores upon running. It can be invoked via
make rebuild_cache
</pre>
+ </p>
+
+ <a name="operatingshortcuts"></a>
+ <h4> Shortcuts </h4>
+
+ <p>
+ All variables starting with <code>WITH_</code> will be automatically
+ renamed to <code>DEAL_II_WITH_*</code>. So, it suffices to specify
+ <pre>
+
+ cmake -DWITH_MPI=ON <...>
+ </pre>
+ instead of the longer
+ <pre>
+
+ cmake -DDEAL_II_WITH_MPI=ON <...>
+ </pre>
+ The same holds for all variables starting with <code>COMPONENT_</code>
+ and all individual component names: <code>COMPAT_FILES</code>,
+ <code>DOCUMENTATION</code>, <code>EXAMPLES</code>,
+ <code>MESH_CONVERTER</code> and <code>PARAMETER_GUI</code> (which
+ will be expanded to the full <code>DEAL_II_COMPONENT_*</code> variable name).
+ </p>
<a name="configure"></a>
<h3>Configuration options</h3>
lib${LIB_SUFFIX}/cmake/deal.II
share/deal.II/
share/deal.II/cmake/macros
- share/doc/deal.II/examples
+ share/deal.II/examples
share/doc/deal.II/html
</pre>
</ul>
<pre>
DEAL_II_CMAKE_MACROS_RELDIR
+ DEAL_II_COMMON_RELDIR
DEAL_II_DOCHTML_RELDIR
DEAL_II_DOCREADME_RELDIR
DEAL_II_EXAMPLES_RELDIR