]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Add forgotten stuff to cmake.html
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Mar 2013 09:51:16 +0000 (09:51 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Mar 2013 09:51:16 +0000 (09:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@28877 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/development/Config.sample
deal.II/doc/development/cmake.html

index be0de502ece37417a8c80468b8c5e818c20d1efc..f1788fe7fcf6f4fbc7db84b9862209a8246aeede 100644 (file)
 #
 
 
+#
+# ZLIB:
+#
+# SET(DEAL_II_WITH_ZLIB ON CACHE BOOL
+#   "Build deal.II with support for zlib"
+#   )
+#
+# Automatic detection:
+#
+# Specify a hint with CMAKE_PREFIX_PATH or by setting
+# SET(ZLIB_ROOT "/.../..." CACHE PATH "")
+#
+# Manual setup:
+#
+# SET(ZLIB_FOUND TRUE CACHE BOOL "")
+# SET(ZLIB_LIBRARIES "library;and;semicolon;separated;list;of;link;interface" CACHE STRING "")
+# SET(ZLIB_INCLUDE_DIRS "semicolon;separated;list;of;include;dirs" CACHE STRING "")
+#
+
+
 
 ###########################################################################
 #                                                                         #
index f110dded55e5751794c47a6423d1f5e7735537c9..900399389d791e2fa922b747fbaaf64984b513a6 100644 (file)
         href="../readme.html#configuration">here</a>.
     </p>
 
+    </p>
+      Compilers can be switched either by command line or by setting
+      <code>CMAKE_(C|CXX)_COMPILER</code>:
+      <pre>
+
+     CC=mpicc CXX=mpicxx cmake &lt;...&gt;
+
+     cmake -DCMAKE_C_COMPILER="mpicc" -DCMAKE_CXX_COMPILER="mpicxx" &lt;...&gt;
+      </pre>
+      Please note that
+      <ul>
+        <li>
+          The compiler <i>must</i> be specified at the very first
+          invokation of <code>cmake</code>.
+        <li>
+          The specified C and CXX compilers must be the same compiler
+          brand and the same compiler version.
+      </ul>
+    </p>
+
     <p>
       deal.II will configure sensible default <code>CFLAGS</code> and
       <code>CXXFLAGS</code> depending on platform, compiler and build
       <ul>
         <li>
           <code>DEAL_II_ALLOW_PLATFORM_INTROSPECTION</code>: If set
-          (default), <acronym>deal.II</acronym> will do platform
+          (default), <acronym>deal.II</acronym> will perform platform
           introspection for the given CPU.
 
        <li>

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.