## ---------------------------------------------------------------------
## $Id: CMakeLists.txt 31527 2013-11-03 09:58:45Z maier $
##
## Copyright (C) 2012 - 2013 by the deal.II authors
##
## This file is part of the deal.II library.
##
## The deal.II library is free software; you can use it, redistribute
## it, and/or modify it under the terms of the GNU Lesser General
## Public License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
## The full text of the license can be found in the file LICENSE at
## the top level of the deal.II distribution.
##
## ---------------------------------------------------------------------

INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_BINARY_DIR})

SET(_src
  auto_derivative_function.cc
  conditional_ostream.cc
  config.cc
  convergence_table.cc
  data_out_base.cc
  event.cc
  exceptions.cc
  flow_function.cc
  function.cc
  function_derivative.cc
  function_lib.cc
  function_lib_cutoff.cc
  function_parser.cc
  function_time.cc
  geometry_info.cc
  index_set.cc
  job_identifier.cc
  logstream.cc
  memory_consumption.cc
  mpi.cc
  multithread_info.cc
  parallel.cc
  parameter_handler.cc
  parsed_function.cc
  partitioner.cc
  path_search.cc
  polynomial.cc
  polynomials_abf.cc
  polynomials_adini.cc
  polynomials_bdm.cc
  polynomials_nedelec.cc
  polynomial_space.cc
  polynomials_p.cc
  polynomials_piecewise.cc
  polynomials_raviart_thomas.cc
  quadrature.cc
  quadrature_lib.cc
  quadrature_selector.cc
  subscriptor.cc
  symmetric_tensor.cc
  table_handler.cc
  tensor_function.cc
  tensor_product_polynomials.cc
  tensor_product_polynomials_const.cc
  thread_management.cc
  timer.cc
  utilities.cc
  )

SET(_inst
  data_out_base.inst.in
  )

FILE(GLOB _header
  ${CMAKE_SOURCE_DIR}/include/deal.II/base/*.h
  )

DEAL_II_ADD_LIBRARY(obj_base OBJECT ${_src} ${_header} ${_inst}
  ${CMAKE_BINARY_DIR}/include/deal.II/base/config.h
  )
EXPAND_INSTANTIATIONS(obj_base "${_inst}")
