-
Notifications
You must be signed in to change notification settings - Fork 708
/
CMakeLists.txt
61 lines (55 loc) · 1.64 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
## ---------------------------------------------------------------------
##
## Copyright (C) 2013 - 2020 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.md at
## the top level directory of deal.II.
##
## ---------------------------------------------------------------------
INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
SET(_src
dof_info.cc
evaluation_template_factory.cc
evaluation_template_factory_inst2.cc
evaluation_template_factory_inst3.cc
evaluation_template_factory_inst4.cc
evaluation_template_factory_inst5.cc
evaluation_template_factory_inst6.cc
evaluation_template_factory_hanging_nodes.cc
fe_point_evaluation.cc
mapping_info.cc
mapping_info_inst2.cc
mapping_info_inst3.cc
matrix_free.cc
shape_info.cc
task_info.cc
vector_data_exchange.cc
)
SET(_inst
evaluation_template_factory.inst.in
evaluation_template_factory_hanging_nodes.inst.in
fe_point_evaluation.inst.in
mapping_info.inst.in
matrix_free.inst.in
shape_info.inst.in
)
FILE(GLOB _header
${CMAKE_SOURCE_DIR}/include/deal.II/matrix_free/*.h
)
IF(DEAL_II_WITH_CUDA)
SET(_src
cuda_matrix_free.cu
${_src}
)
SET(_inst
${_inst}
)
ENDIF()
DEAL_II_ADD_LIBRARY(obj_matrix_free OBJECT ${_src} ${_header} ${_inst})
EXPAND_INSTANTIATIONS(obj_matrix_free "${_inst}")