#####
##
-## Copyright (C) 2012 by the deal.II authors
+## Copyright (C) 2012, 2013 by the deal.II authors
##
## This file is part of the deal.II library.
##
# General configuration for cmake:
#
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
+MESSAGE(STATUS "This is CMake ${CMAKE_VERSION}")
SET(CMAKE_INCLUDE_CURRENT_DIR true)
#
FILE(GLOB _macro_files "cmake/macros/*.cmake")
FOREACH(_file ${_macro_files})
- MESSAGE(STATUS "Include ${_file}")
INCLUDE(${_file})
ENDFOREACH()
-
INCLUDE(setup_external_macros)
#
#####
##
-## Copyright (C) 2012 by the deal.II authors
+## Copyright (C) 2012, 2013 by the deal.II authors
##
## This file is part of the deal.II library.
##
#
# *Hooray* We are allowed to set compiler flags :-]
#
+ MESSAGE(STATUS "")
MESSAGE(STATUS "Set up default compiler flags.")
#
ENDIF()
#
- # Setup for ICC (version >= 10) compiler:
+ # Setup for ICC compiler (version >= 10):
#
IF(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
INCLUDE(setup_compiler_flags_intel)
SET(DEAL_II_KNOWN_COMPILER TRUE)
ENDIF()
- IF(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
+ #
+ # Setup for MSVC compiler (version >= 2012):
+ #
+ IF(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
INCLUDE(setup_compiler_flags_msvc)
SET(DEAL_II_KNOWN_COMPILER TRUE)
ENDIF()
-
+
IF(NOT DEAL_II_KNOWN_COMPILER)
MESSAGE(FATAL_ERROR "\n"
"Unknown compiler!\n"
#####
##
-## Copyright (C) 2012 by the deal.II authors
+## Copyright (C) 2012, 2013 by the deal.II authors
##
## This file is part of the deal.II library.
##
FILE(WRITE ${_log}
"###
#
-# deal.II configuration:
+# ${DEAL_II_PACKAGE_NAME} configuration:
#
# CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}
# CMAKE_INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX}
-# CMAKE_SOURCE_DIR: ${CMAKE_SOURCE_DIR}
+# CMAKE_SOURCE_DIR: ${CMAKE_SOURCE_DIR} (Version ${DEAL_II_PACKAGE_VERSION})
# CMAKE_BINARY_DIR: ${CMAKE_BINARY_DIR}
# CMAKE_CXX_COMPILER: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} on platform ${CMAKE_SYSTEM_NAME}
# ${CMAKE_CXX_COMPILER}