blob: 676546aaa5f90097497a7a7a1d93935122e4c643 (
plain)
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
98
99
100
101
102
103
104
|
set( PUB_HEADERS
ContinuousStructure.h
CSPrimitives.h
CSProperties.h
CSRectGrid.h
CSXCAD_Global.h
ParameterObjects.h
CSFunctionParser.h
CSUseful.h
ParameterCoord.h
CSTransform.h
CSBackgroundMaterial.h
CSPrimPoint.h
CSPrimBox.h
CSPrimMultiBox.h
CSPrimSphere.h
CSPrimSphericalShell.h
CSPrimCylinder.h
CSPrimCylindricalShell.h
CSPrimPolygon.h
CSPrimLinPoly.h
CSPrimRotPoly.h
CSPrimPolyhedron.h
CSPrimPolyhedronReader.h
CSPrimCurve.h
CSPrimWire.h
CSPrimUserDefined.h
CSPropUnknown.h
CSPropMaterial.h
CSPropDispersiveMaterial.h
CSPropLorentzMaterial.h
CSPropDebyeMaterial.h
CSPropDiscMaterial.h
CSPropLumpedElement.h
CSPropMetal.h
CSPropConductingSheet.h
CSPropExcitation.h
CSPropProbeBox.h
CSPropDumpBox.h
CSPropResBox.h
)
set(SOURCES
ContinuousStructure.cpp
CSPrimitives.cpp
CSProperties.cpp
CSRectGrid.cpp
ParameterObjects.cpp
CSFunctionParser.cpp
CSUseful.cpp
ParameterCoord.cpp
CSTransform.cpp
CSPrimPoint.cpp
CSPrimBox.cpp
CSPrimMultiBox.cpp
CSPrimSphere.cpp
CSPrimSphericalShell.cpp
CSPrimCylinder.cpp
CSPrimCylindricalShell.cpp
CSPrimPolygon.cpp
CSPrimLinPoly.cpp
CSPrimRotPoly.cpp
CSPrimPolyhedron.cpp
CSPrimPolyhedronReader.cpp
CSPrimCurve.cpp
CSPrimWire.cpp
CSPrimUserDefined.cpp
CSPropUnknown.cpp
CSPropMaterial.cpp
CSPropDispersiveMaterial.cpp
CSPropLorentzMaterial.cpp
CSPropDebyeMaterial.cpp
CSPropDiscMaterial.cpp
CSPropLumpedElement.cpp
CSPropMetal.cpp
CSPropConductingSheet.cpp
CSPropExcitation.cpp
CSPropProbeBox.cpp
CSPropDumpBox.cpp
CSPropResBox.cpp
CSBackgroundMaterial.cpp
)
# CSXCAD library
add_library( CSXCAD SHARED ${SOURCES} )
TARGET_LINK_LIBRARIES( CSXCAD
${fparser_LIBRARIES}
${TinyXML_LIBRARIES}
${HDF5_LIBRARIES}
CGAL
${Boost_LIBRARIES}
${vtk_LIBS}
)
set_target_properties(CSXCAD PROPERTIES VERSION ${LIB_VERSION_STRING}
SOVERSION ${LIB_VERSION_MAJOR})
INSTALL(TARGETS CSXCAD DESTINATION lib${LIB_SUFFIX})
INSTALL(FILES ${PUB_HEADERS} DESTINATION include/CSXCAD)
|