]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update CMake documentation 290/head
authorMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Tue, 9 Dec 2014 13:01:13 +0000 (14:01 +0100)
committerMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Tue, 9 Dec 2014 13:03:22 +0000 (14:03 +0100)
doc/developers/cmake-internals.html
doc/users/cmake.html

index 81acb0fd80fa2ab363558a98432f1a9c4dbd4c0c..0043742a0ae20801553adbfa890007800d65b097 100644 (file)
@@ -63,9 +63,9 @@
   An example:
 <pre class="cmake">
 FOREACH(_build ${DEAL_II_BUILD_TYPES})
-#
-# Set an appropriate keyword depending on target and build type:
-#
+  #
+  # Set an appropriate keyword depending on target and build type:
+  #
   IF(NOT "${CMAKE_BUILD_TYPE}" STREQUAL "DebugRelease")
     SET(_keyword "general")
   ELSE()
@@ -94,7 +94,7 @@ ENDFOREACH()
 LIST(APPEND CONFIG_LIBRARIES
   ${_keyword}
   ${CONFIG_LIBRARIES_${_build}}
-)
+  )
 
 SET_TARGET_PROPERTIES(${DEAL_II_BASE_NAME}${DEAL_II_${build}_SUFFIX}
   PROPERTIES
@@ -103,7 +103,7 @@ SET_TARGET_PROPERTIES(${DEAL_II_BASE_NAME}${DEAL_II_${build}_SUFFIX}
   LINK_FLAGS "${DEAL_II_LINKER_FLAGS_${build}}"
   COMPILE_DEFINITIONS "${DEAL_II_DEFINITIONS};${DEAL_II_DEFINITIONS_${build}}"
   COMPILE_FLAGS "${DEAL_II_CXX_FLAGS_${build}}"
-)
+  )
 </pre>
 
 <p>
@@ -254,7 +254,7 @@ SET_TARGET_PROPERTIES(${DEAL_II_BASE_NAME}${DEAL_II_${build}_SUFFIX}
     it does and why it is there, and should state author and year.
   <li>
     There are a number of readily available platform check macros:
-    
+
 <pre>
 CHECK_CXX_SOURCE_COMPILES(source variable)
   - Checks whether it is possible to compile _and_ link the code snippet
@@ -306,7 +306,7 @@ RESET_CMAKE_REQUIRED()
     <code>CMAKE_REQUIRED_LIBRARIES</code>. It is best to append these
     lists and later on reset <code>CMAKE_REQUIRED_*</code> (including
     <code>CMAKE_REQUIRED_FLAGS</code>) to their default values:
-    
+
 <pre class="cmake">
 LIST(APPEND CMAKE_REQUIRED_INCLUDES &lt;a list of includes&gt;)
 LIST(APPEND CMAKE_REQUIRED_LIBRARIES &lt;a list of libraries&gt;)
index 3abff76fe2ce894ec601f8e3ae6ef233260fc39f..75a2e9b59a582c1513737d94f33bf9ad9e651ca7 100644 (file)
@@ -205,7 +205,7 @@ cmake -DDEAL_II_WITH_MPI=ON &lt;...&gt;
     <h3>Primary build targets</h3>
 
     <p> The current list of primary build targets can be queried via
-    <code>make help</code>:
+    <code>make info</code>:
 <pre class="cmake">
 ###
 #
@@ -273,7 +273,7 @@ cmake -DDEAL_II_WITH_MPI=ON &lt;...&gt;
 #
 #  Detailed information (compiler flags, feature configuration) can be found in detailed.log
 #
-#  Run  $ make help  to print a help message with a list of top level targets
+#  Run  $ make info  to print a help message with a list of top level targets
 #
 ###
 </pre>

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.