swh:1:snp:75cdaf5164207cb3d00f07a3da10a0250b29d03b
Tip revision: 87200360bb3f344466d54f37461ff4978e8fc507 authored by Timo Heister on 01 June 2014, 18:32:47 UTC
improve documentation
improve documentation
Tip revision: 8720036
write_config.cmake
# Copyright (C) 2013, 2014 by the authors of the ASPECT code.
#
# This file is part of ASPECT.
#
# ASPECT is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# ASPECT is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ASPECT; see the file doc/COPYING. If not see
# <http://www.gnu.org/licenses/>.
# $Id: CMakeLists.txt 2387 2014-03-31 18:54:18Z bangerth $
SET(_log_detailed "${CMAKE_BINARY_DIR}/detailed.log")
FILE(REMOVE ${_log_detailed})
MACRO(_detailed)
FILE(APPEND ${_log_detailed} "${ARGN}")
ENDMACRO()
_detailed(
"###
#
# ASPECT configuration:
# DEAL_II_DIR: ${deal.II_DIR}
# DEAL_II VERSION: ${DEAL_II_PACKAGE_VERSION}
# ASPECT_USE_PETSC: ${ASPECT_USE_PETSC}
# CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}
# CMAKE_INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX}
# CMAKE_SOURCE_DIR: ${CMAKE_SOURCE_DIR}
# CMAKE_BINARY_DIR: ${CMAKE_BINARY_DIR}
# CMAKE_CXX_COMPILER: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} on platform ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_PROCESSOR}
# ${CMAKE_CXX_COMPILER}
")
IF(CMAKE_C_COMPILER_WORKS)
_detailed("# CMAKE_C_COMPILER: ${CMAKE_C_COMPILER}\n")
ENDIF()
IF(DEAL_II_STATIC_EXECUTABLE)
_detailed(
"#
# LINKAGE: STATIC
")
ELSE()
_detailed(
"#
# LINKAGE: DYNAMIC
")
ENDIF()
_detailed("#\n###")