##
#####
-
## ##
# #
# The cmake build system for the deal.II project #
# #
###########################################################################
-#
-# Build the toolchain and prepare the includes:
-#
-INCLUDE(config/setup_template-arguments.in.cmake)
ADD_SUBDIRECTORY(scripts)
+
ADD_SUBDIRECTORY(include)
-#
-# Compile and install the library:
-#
IF(DEAL_II_WITH_BUNDLED_DIRECTORY)
ADD_SUBDIRECTORY(bundled)
ENDIF()
+
ADD_SUBDIRECTORY(source)
-#
-# Prepare the remaining directories for installation
-#
-ADD_SUBDIRECTORY(config)
-ADD_SUBDIRECTORY(contrib)
+ADD_SUBDIRECTORY(config) # has to be included after source
+
+ADD_SUBDIRECTORY(contrib) # has to be included after source
+
IF(DEAL_II_WITH_DOC_DIRECTORY)
ADD_SUBDIRECTORY(doc)
ENDIF()
+
ADD_SUBDIRECTORY(examples)
#
licenses that apply.
-boost-1.49.0
+./boost-1.49.0
============
Contains parts of the boost c++ libraries copyrighted by the boost authors
A full version of the library can be downloaded at http://www.boost.org/.
-functionparser (FunctionParser 4.5)
+./functionparser (FunctionParser 4.5)
==============
Contains the FunctionParser project which is copyrighted by Juha Nieminen
#
# Setup the "distclean" target:
#
- CONFIGURE_FILE(
- ${CMAKE_SOURCE_DIR}/cmake/distclean.cmake.in
- ${CMAKE_BINARY_DIR}/distclean.cmake
- @ONLY)
ADD_CUSTOM_TARGET(distclean
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target clean
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_BINARY_DIR}/distclean.cmake
#####
+#
+# Configure the template-arguments file
+#
+CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/template-arguments.in
+ ${CMAKE_CURRENT_BINARY_DIR}/template-arguments
+ )
+
+
###########################################################################
# #
# Setup and install the convenience macros: #
)
ENDIF()
+
+###########################################################################
+# #
+# Configure distclean.cmake used by the autopilot 'distclean' target: #
+# #
+###########################################################################
+
+
+IF( "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}" AND
+ NOT DISABLE_AUTOPILOT)
+ CONFIGURE_FILE(
+ ${CMAKE_SOURCE_DIR}/cmake/distclean.cmake.in
+ ${CMAKE_BINARY_DIR}/distclean.cmake
+ @ONLY)
+ENDIF()
+
+++ /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>
-##
-#####
-
-
-CONFIGURE_FILE(
- ${CMAKE_SOURCE_DIR}/config/template-arguments.in
- ${CMAKE_BINARY_DIR}/config/template-arguments
- )
-