swh:1:snp:75cdaf5164207cb3d00f07a3da10a0250b29d03b
Raw File
Tip revision: 87200360bb3f344466d54f37461ff4978e8fc507 authored by Timo Heister on 01 June 2014, 18:32:47 UTC
improve documentation
Tip revision: 8720036
AspectConfig.cmake.in
# Copyright (C) 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$



# This file provides a macro that authors can use to
# set up a directory with source files that will then be
# compiled into a run-time loadable plugin for Aspect.


FIND_PACKAGE(deal.II 8.0 REQUIRED HINTS @DEAL_II_PATH@)
SET(ASPECT_INCLUDE_DIRS "@CMAKE_SOURCE_DIR@/include")

MACRO(ASPECT_SETUP_PLUGIN _target)
  MESSAGE("Setting up plugin <${_target}>")
  DEAL_II_SETUP_TARGET(${_target})
  SET_PROPERTY(TARGET ${_target} APPEND PROPERTY
    INCLUDE_DIRECTORIES "${ASPECT_INCLUDE_DIRS}"
  )
ENDMACRO()
back to top