]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Small documentation update
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 7 Apr 2013 21:37:20 +0000 (21:37 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 7 Apr 2013 21:37:20 +0000 (21:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@29215 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_deal_ii.cmake
deal.II/doc/development/cmake.html

index a7f8efe4f62456018f857f6756763639cc70eb90..c77fa6d7b0064b924cb7475b14f585e9977853cf 100644 (file)
@@ -101,8 +101,8 @@ IF(DEAL_II_COMPONENT_COMPAT_FILES)
   #
   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
index 33201002c52c2c16f337c3f96474b2fef6ed008d..e9e6643ea9d5e35c919ae985d1806511f258ac7a 100644 (file)
@@ -33,6 +33,7 @@
               <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 &lt;...&gt;
+    </pre>
+      instead of the longer
+    <pre>
+
+    cmake -DDEAL_II_WITH_MPI=ON &lt;...&gt;
+    </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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.