"Choose the type of build, options are: Debug, Release"
)
+ SET(CMAKE_CXX_COMPILER ${DEAL_II_CXX_COMPILER} CACHE STRING
+ "CXX Compiler.")
+
SET(CMAKE_CXX_FLAGS ${DEAL_II_CXX_FLAGS} CACHE STRING
"Flags used by the compiler during all build types."
)
+++ /dev/null
-#####
-##
-## Copyright (C) 2012 by the deal.II authors
-##
-## This file is part of the deal.II library.
-##
-## <TODO: Full License information>
-## This file is dual licensed under QPL 1.0 and LGPL 2.1 or any later
-## version of the LGPL license.
-##
-## Author: Matthias Maier <matthias.maier@iwr.uni-heidelberg.de>
-##
-#####
-
-#
-# This file implements the DEAL_II_SETUP_COMPILER macro, which is
-# part of the deal.II library.
-#
-# Usage:
-# DEAL_II_SETUP_COMPILER()
-#
-
-MACRO(DEAL_II_SETUP_COMPILER)
-
- IF(NOT DEAL_II_PROJECT_CONFIG_INCLUDE)
- MESSAGE(FATAL_ERROR
- "DEAL_II_SETUP_TARGET can only be called in external projects after "
- "the inclusion of deal.IIConfig.cmake. It is not intended for "
- "internal use."
- )
- ENDIF()
-
- SET(CMAKE_CXX_COMPILER ${DEAL_II_CXX_COMPILER})
-
-ENDMACRO()
-
LIST(APPEND DEAL_II_MACROS
${CMAKE_INSTALL_PREFIX}/${DEAL_II_CMAKE_MACROS_RELDIR}/macro_deal_ii_initialize_cached_variables.cmake
- ${CMAKE_INSTALL_PREFIX}/${DEAL_II_CMAKE_MACROS_RELDIR}/macro_deal_ii_setup_compiler.cmake
${CMAKE_INSTALL_PREFIX}/${DEAL_II_CMAKE_MACROS_RELDIR}/macro_deal_ii_setup_target.cmake
)
INSTALL(FILES
${CMAKE_SOURCE_DIR}/cmake/macros/macro_deal_ii_initialize_cached_variables.cmake
- ${CMAKE_SOURCE_DIR}/cmake/macros/macro_deal_ii_setup_compiler.cmake
${CMAKE_SOURCE_DIR}/cmake/macros/macro_deal_ii_setup_target.cmake
DESTINATION ${DEAL_II_CMAKE_MACROS_RELDIR}
COMPONENT library