From: Matthias Maier Date: Tue, 9 Dec 2014 13:01:13 +0000 (+0100) Subject: Update CMake documentation X-Git-Tag: v8.2.0-rc1~27^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=832c8d6b525bc7522988544a5a0a3a307822de4a;p=dealii.git Update CMake documentation --- diff --git a/doc/developers/cmake-internals.html b/doc/developers/cmake-internals.html index 81acb0fd80..0043742a0a 100644 --- a/doc/developers/cmake-internals.html +++ b/doc/developers/cmake-internals.html @@ -63,9 +63,9 @@ An example:
 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}}"
-)
+  )
 

@@ -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.

  • There are a number of readily available platform check macros: - +
     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()
         CMAKE_REQUIRED_LIBRARIES. It is best to append these
         lists and later on reset CMAKE_REQUIRED_* (including
         CMAKE_REQUIRED_FLAGS) to their default values:
    -    
    +
     
     LIST(APPEND CMAKE_REQUIRED_INCLUDES <a list of includes>)
     LIST(APPEND CMAKE_REQUIRED_LIBRARIES <a list of libraries>)
    diff --git a/doc/users/cmake.html b/doc/users/cmake.html
    index 3abff76fe2..75a2e9b59a 100644
    --- a/doc/users/cmake.html
    +++ b/doc/users/cmake.html
    @@ -205,7 +205,7 @@ cmake -DDEAL_II_WITH_MPI=ON <...>
         

    Primary build targets

    The current list of primary build targets can be queried via - make help: + make info:

     ###
     #
    @@ -273,7 +273,7 @@ cmake -DDEAL_II_WITH_MPI=ON <...>
     #
     #  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
     #
     ###