-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
97 lines (90 loc) · 1.54 KB
/
CMakeLists.txt
File metadata and controls
97 lines (90 loc) · 1.54 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
if(DEFINED TRIBITS_PACKAGE)
include(pkg_tribits.cmake)
return()
endif()
# Package sources
set(SOURCES
apf.cc
apfAggregateNumbering.cc
apfCavityOp.cc
apfElement.cc
apfField.cc
apfFieldOf.cc
apfGradientByVolume.cc
apfIntegrate.cc
apfMatrix.cc
apfDynamicMatrix.cc
apfDynamicVector.cc
apfMatrixField.cc
apfMesh.cc
apfMesh2.cc
apfMigrate.cc
apfScalarElement.cc
apfScalarField.cc
apfShape.cc
apfIPShape.cc
apfHierarchic.cc
apfVector.cc
apfVectorElement.cc
apfVectorField.cc
apfPackedField.cc
apfNumbering.cc
apfMixedNumbering.cc
apfAdjReorder.cc
apfVtk.cc
apfFieldData.cc
apfTagData.cc
apfCoordData.cc
apfArrayData.cc
apfUserData.cc
apfPartition.cc
apfConvert.cc
apfConstruct.cc
apfVerify.cc
apfGeometry.cc
apfBoundaryToElementXi.cc
apfSimplexAngleCalcs.cc
apfFile.cc
apfMIS.cc
)
# Package headers
set(HEADERS
apf.h
apfAggregateNumbering.h
apfMesh.h
apfMesh2.h
apfMatrix.h
apfVector.h
apfArray.h
apfDynamicMatrix.h
apfDynamicVector.h
apfDynamicArray.h
apfNew.h
apfCavityOp.h
apfShape.h
apfNumbering.h
apfMixedNumbering.h
apfPartition.h
apfConvert.h
apfGeometry.h
apf2mth.h
apfMIS.h
)
# Add the apf library
add_library(apf ${SOURCES})
# Include directories
target_include_directories(apf PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include>
)
# Link this library to these others
target_link_libraries(apf
PUBLIC
pcu
gmi
lion
can
mth
)
scorec_export_library(apf)
bob_end_subdir()