]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Adjust comment width
authorMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 18 Jul 2013 20:22:13 +0000 (20:22 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 18 Jul 2013 20:22:13 +0000 (20:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@30052 0785d39b-7218-0410-832d-ea1e28bc413d

13 files changed:
deal.II/CMakeLists.txt
deal.II/cmake/checks/check_01_compiler_features.cmake
deal.II/cmake/checks/check_01_cpu_features.cmake
deal.II/cmake/checks/check_01_cxx_features.cmake
deal.II/cmake/checks/check_02_system_features.cmake
deal.II/cmake/checks/check_03_compiler_bugs.cmake
deal.II/cmake/config/CMakeLists.txt
deal.II/cmake/macros/macro_configure_feature.cmake
deal.II/cmake/setup_cached_variables.cmake
deal.II/cmake/setup_compiler_flags.cmake
deal.II/cmake/setup_custom_targets.cmake
deal.II/cmake/setup_deal_ii.cmake
deal.II/cmake/setup_finalize.cmake

index ed7b0c897aa39a1621f14970de9fab0b0b45bf9f..dfb99c96a4f654fed7e7c181f20f7fdb8663f582 100644 (file)
 ## ---------------------------------------------------------------------
 
 
-##                                                                       ##
-#             The cmake build system for the deal.II project              #
-#                                                                         #
-#     See doc/readme.html and doc/development/cmake.html for further      #
-#     details on how to use the cmake build system of deal.II.            #
-##                                                                       ##
+##                                                                    ##
+#            The cmake build system for the deal.II project            #
+#                                                                      #
+#    See doc/readme.html and doc/development/cmake.html for further    #
+#    details on how to use the cmake build system of deal.II.          #
+##                                                                    ##
 
-###########################################################################
-#                                                                         #
-#                             Configuration:                              #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                            Configuration:                            #
+#                                                                      #
+########################################################################
 
 #
 # General configuration for cmake:
@@ -108,11 +108,11 @@ ENDFOREACH()
 INCLUDE(setup_finalize)
 
 
-###########################################################################
-#                                                                         #
-#                      Compilation and installation:                      #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                     Compilation and installation:                    #
+#                                                                      #
+########################################################################
 
 MESSAGE(STATUS "")
 MESSAGE(STATUS "Configuring done. Proceed to target definitions now.")
index 72606e11ae1cbb8ae0a7204d72efe3fc7ee31fbf..c6678d6367c2871f8f7a8722b85bb66615c51e6d 100644 (file)
 ##
 ## ---------------------------------------------------------------------
 
-###########################################################################
-#                                                                         #
-#                  Check for various compiler features:                   #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                 Check for various compiler features:                 #
+#                                                                      #
+########################################################################
 
 #
 # This file sets up:
index 2cf11910c14b3730e65d85076df203e4af583c01..d8c275b5783f8432e20c1f0f77926cf6b773c34b 100644 (file)
 ## ---------------------------------------------------------------------
 
 
-###########################################################################
-#                                                                         #
-#                    Platform and CPU specific tests:                     #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                   Platform and CPU specific tests:                   #
+#                                                                      #
+########################################################################
 
 #
 # This file sets up
index 96305031aa567b24c1a0cca5f09bc112085b1a99..7fcf064bfb3b6778b93198b4ee57b1306c2802dd 100644 (file)
 #
 
 
-###########################################################################
-#                                                                         #
-#                              C++11 Support:                             #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                             C++11 Support:                           #
+#                                                                      #
+########################################################################
 
 #
 # See if there is a compiler flag to enable C++11 features
@@ -221,11 +221,11 @@ ELSE()
 ENDIF()
 
 
-###########################################################################
-#                                                                         #
-#                    Check for various C++ features:                      #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                   Check for various C++ features:                    #
+#                                                                      #
+########################################################################
 
 CHECK_CXX_SOURCE_COMPILES(
   "
index 8c9d152d090fccd9583648b0dff39b6b3a20c4cf..25d54167f5ec48f8e11626840cb79c146c882e4f 100644 (file)
 #
 
 
-###########################################################################
-#                                                                         #
-#                     POSIX and Linux specific tests:                     #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                    POSIX and Linux specific tests:                   #
+#                                                                      #
+########################################################################
 
 #
 # Check for various posix (and linux) specific header files and symbols
@@ -77,11 +77,11 @@ IF(NOT m_LIBRARY MATCHES "-NOTFOUND")
 ENDIF()
 
 
-###########################################################################
-#                                                                         #
-#                         Mac OSX specific setup:                         #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                        Mac OSX specific setup:                       #
+#                                                                      #
+########################################################################
 
 IF(CMAKE_SYSTEM_NAME MATCHES "Darwin")
   #
@@ -103,11 +103,11 @@ ENDIF()
 
 
 
-###########################################################################
-#                                                                         #
-#                    Windows and CYGWIN specific setup:                   #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                   Windows and CYGWIN specific setup:                 #
+#                                                                      #
+########################################################################
 
 IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
   #
index 7cb46ed2221bab352d28cfcb37c4e4adc2229ff9..cf49fb0e579e65cc7a008799f60092e9117c96db 100644 (file)
 ##
 ## ---------------------------------------------------------------------
 
-###########################################################################
-#                                                                         #
-#                    Check for various compiler bugs:                     #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                   Check for various compiler bugs:                   #
+#                                                                      #
+########################################################################
 
 
 #
@@ -100,38 +100,6 @@ IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND
 ENDIF()
 
 
-#
-# Some gcc compiler versions have a problem when using an unsigned count
-# in the std::advance function. Unfortunately, this also happens
-# occasionally from within the standard library, so we can't prevent the
-# warning messages. Since this is annoying, switch of the flag -W which
-# causes this.
-#
-# - Matthias Maier, rewritten 2012
-#
-
-# TODO: We use the mpi.h header file for this check. We should test this
-# bug directly...
-CHECK_INCLUDE_FILE_CXX("mpi.h" HAVE_MPI_H)
-
-IF(HAVE_MPI_H)
-  PUSH_TEST_FLAG("-Wunused-parameter")
-  PUSH_TEST_FLAG("-Werror")
-  CHECK_CXX_COMPILER_BUG(
-    "
-    #include <mpi.h>
-    int main() { return 0; }
-    "
-    DEAL_II_ADVANCE_WARNING_BUG)
-  POP_TEST_FLAG()
-  POP_TEST_FLAG()
-
-  IF(DEAL_II_ADVANCE_WARNING_BUG)
-    ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-unused-parameter")
-  ENDIF()
-ENDIF()
-
-
 #
 # In some cases, we would like to name partial specializations
 # as friends. However, the standard forbids us to do so. But
index baa63009684a8f99ccce213be07177c945ef0719..f4317e01dfce00606c6f06e749af1618aa2cb019 100644 (file)
@@ -24,11 +24,11 @@ CONFIGURE_FILE(
   )
 
 
-###########################################################################
-#                                                                         #
-#               Setup and install the convenience macros:                 #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#              Setup and install the convenience macros:               #
+#                                                                      #
+########################################################################
 
 INSTALL(FILES
   ${CMAKE_SOURCE_DIR}/cmake/macros/macro_deal_ii_initialize_cached_variables.cmake
@@ -39,11 +39,11 @@ INSTALL(FILES
   )
 
 
-###########################################################################
-#                                                                         #
-#         Configure and install the cmake project configuration:          #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#        Configure and install the cmake project configuration:        #
+#                                                                      #
+########################################################################
 
 #
 # Strip -Wno-deprecated from CMAKE_CXX_FLAGS so that deprecation warnings
@@ -138,11 +138,11 @@ INSTALL(FILES
   )
 
 
-###########################################################################
-#                                                                         #
-#          Configure and install the old Makefile configuration:          #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#         Configure and install the old Makefile configuration:        #
+#                                                                      #
+########################################################################
 
 
 IF(DEAL_II_COMPONENT_COMPAT_FILES)
index 3185a56ba1b260220799fc8468ab1d5d8071f973..0ae79de3c0543b01f308a85d8210b13956c4f206 100644 (file)
 #
 
 
-###########################################################################
-#                                                                         #
-#                             Helper Macros:                              #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                            Helper Macros:                            #
+#                                                                      #
+########################################################################
 
 #
 # Some black magic to have substitution in command names:
@@ -150,11 +150,11 @@ MACRO(FEATURE_CONFIGURE_EXTERNAL _feature)
 ENDMACRO()
 
 
-###########################################################################
-#                                                                         #
-#                           CONFIGURE_FEATURE:                            #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                          CONFIGURE_FEATURE:                          #
+#                                                                      #
+########################################################################
 
 MACRO(CONFIGURE_FEATURE _feature)
   #
index 5167c32395530bbddb7edcd8d87784863e59d545..e8667e17c112c9ed1fe5c66061a79c5294002e0a 100644 (file)
 #
 
 
-###########################################################################
-#                                                                         #
-#                     General configuration options:                      #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                    General configuration options:                    #
+#                                                                      #
+########################################################################
 
 If(DEAL_II_HAVE_BUNDLED_DIRECTORY)
   OPTION(DEAL_II_ALLOW_BUNDLED
@@ -113,11 +113,11 @@ IF("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
 ENDIF()
 
 
-###########################################################################
-#                                                                         #
-#                        Compilation and linking:                         #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                       Compilation and linking:                       #
+#                                                                      #
+########################################################################
 
 #
 # Setup CMAKE_BUILD_TYPE:
@@ -292,11 +292,11 @@ UNSET(ENV{CXXFLAGS})
 UNSET(ENV{LDFLAGS})
 
 
-###########################################################################
-#                                                                         #
-#                          Miscellaneous setup:                           #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                         Miscellaneous setup:                         #
+#                                                                      #
+########################################################################
 
 GET_CMAKE_PROPERTY(_res VARIABLES)
 FOREACH(_var ${_res})
index fdef42c2f8f63967bd85b9908e7068712df84f26..92baf5eb1a7a4864e03fc0df8e54bba83c6950bd 100644 (file)
 #
 
 
-###########################################################################
-#                                                                         #
-#                             Sanity checks:                              #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                            Sanity checks:                            #
+#                                                                      #
+########################################################################
 
 #
 # Check the user provided CXX flags:
@@ -88,11 +88,11 @@ IF(NOT DEAL_II_HAVE_USABLE_CXX_FLAGS)
 ENDIF()
 
 
-###########################################################################
-#                                                                         #
-#                            Compiler setup:                              #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                           Compiler setup:                            #
+#                                                                      #
+########################################################################
 
 IF(DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS)
   #
index 2b7f26e4a014643a99f7a1e933ce4c17b866cd13..10bcb7dbeaa9245959ed26090ce766e883120d77 100644 (file)
 #
 
 
-###########################################################################
-#                                                                         #
-#  Custom targets for library, documentation and compat_files components: #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#   Custom targets for library, documentation and compat_files comp.:  #
+#                                                                      #
+########################################################################
 
 ADD_CUSTOM_TARGET(library)
 FOREACH(_build ${DEAL_II_BUILD_TYPES})
index 039b65ae515699da86eb1e5a95cd1f6fa78a4d4e..931bf618f37b6ec91cff891645806c1c5b78b99e 100644 (file)
 # *)  Can be overwritten by the command line via -D<...>
 #
 
-###########################################################################
-#                                                                         #
-#                   General information about deal.II:                    #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                  General information about deal.II:                  #
+#                                                                      #
+########################################################################
 
 SET_IF_EMPTY(DEAL_II_PACKAGE_NAME "deal.II")
 
@@ -85,11 +85,11 @@ STRING(REGEX REPLACE
 SET(DEAL_II_VERSION ${DEAL_II_VERSION_MAJOR}.${DEAL_II_VERSION_MINOR})
 
 
-###########################################################################
-#                                                                         #
-#          Information about paths, install locations and names:          #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#         Information about paths, install locations and names:        #
+#                                                                      #
+########################################################################
 
 SET(DEAL_II_PROJECT_CONFIG_NAME "${DEAL_II_PACKAGE_NAME}")
 
@@ -147,11 +147,11 @@ IF(CMAKE_BUILD_TYPE MATCHES "Release")
 ENDIF()
 
 
-###########################################################################
-#                                                                         #
-#    Cleanup and setup that has to happen after the call to PROJECT():    #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#   Cleanup and setup that has to happen after the call to PROJECT():  #
+#                                                                      #
+########################################################################
 
 #
 # Cleanup some files used for storing the names of all object targets that
index 6928eee98a5aae2eb2da0da4f48f207406068103..e2f919a30944e71da64ecfa2648e472807f629c5 100644 (file)
 ## ---------------------------------------------------------------------
 
 
-###########################################################################
-#                                                                         #
-#                       Finalize the configuration:                       #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#                      Finalize the configuration:                     #
+#                                                                      #
+########################################################################
 
 #
 # Hide some cmake specific cached variables. This is annoying...
@@ -61,11 +61,11 @@ FOREACH(_build ${DEAL_II_BUILD_TYPES})
 ENDFOREACH()
 
 
-###########################################################################
-#                                                                         #
-#             And write a nice configuration summary to file:             #
-#                                                                         #
-###########################################################################
+########################################################################
+#                                                                      #
+#            And write a nice configuration summary to file:           #
+#                                                                      #
+########################################################################
 
 SET(_log_detailed "${CMAKE_BINARY_DIR}/detailed.log")
 SET(_log_summary  "${CMAKE_BINARY_DIR}/summary.log")

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.