-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
137 lines (123 loc) · 2.93 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
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
cmake_minimum_required(VERSION 2.8)
project(VTKmUsersGuide CXX C)
include(UseLATEX.cmake)
set(images
images/TitleImage.png
images/SandiaLogo.pdf
images/DOELogo.pdf
images/KitwareLogo.png
images/CMakeGUIBlank.png
images/CMakeGUI.png
images/ArrayHandleStorage.pdf
images/BasicGlut.png
images/CameraViewRange2D.pdf
images/CameraPositionOrientation.pdf
images/CameraMovement.pdf
images/CellConnectionsHexahedron.pdf
images/CellConnectionsLine.pdf
images/CellConnectionsPolygon.pdf
images/CellConnectionsPyramid.pdf
images/CellConnectionsQuadrilateral.pdf
images/CellConnectionsTetrahedron.pdf
images/CellConnectionsTriangle.pdf
images/CellConnectionsVertex.pdf
images/CellConnectionsWedge.pdf
images/CellConstituents.pdf
images/Dragon01.pdf
images/Dragon02.pdf
images/Dragon03.pdf
images/Dragon04.pdf
images/Dragon12.pdf
images/ExplicitCellConnections.pdf
images/Hilbert01.pdf
images/Hilbert02.pdf
images/Hilbert03.pdf
images/Hilbert06.pdf
images/Koch1.pdf
images/Koch2.pdf
images/Koch5.pdf
images/KochApply.pdf
images/KochParametric.pdf
images/MCCompareCuda.png
images/MCComparePiston.png
images/MCCompareVTKm.png
images/PackageHierarchy.pdf
images/PointIncidentAngles.pdf
images/QuadraticType2_1.pdf
images/QuadraticType2_2.pdf
images/QuadraticType2_4.pdf
images/StructuredCellSet.pdf
images/Tree01.pdf
images/Tree02.pdf
images/Tree08.pdf
images/VTKmEnvironments.pdf
images/WorkletExampleAnnotated.pdf
)
set(input_docs
Body.tex
Macros.tex
LanguageDefinitions.tex
TitlePage.tex
Contributors.tex
Introduction.tex
BuildAndInstall.tex
IO.tex
ProvidedFilters.tex
Rendering.tex
BasicProvisions.tex
ArrayHandle.tex
DeviceAdapter.tex
Timer.tex
FancyArrayStorage.tex
DynamicArrayHandle.tex
DataSet.tex
Policies.tex
Worklets.tex
CreatingFilters.tex
Math.tex
WorkingWithCells.tex
VirtualObjects.tex
ImplementingDeviceAdapters.tex
OpenGLInteroperability.tex
FunctionInterface.tex
WorkletArguments.tex
NewWorkletTypes.tex
CodingConventions.tex
)
option(BUILD_EXAMPLES
"When on, the examples used in the document are compiled. The examples can be run with ctest, which will report an error if they do not run correctly."
OFF
)
if (BUILD_EXAMPLES)
enable_testing()
include(CTest)
endif ()
set(VTKm_GUIDE_VERSION 1.1)
add_subdirectory(examples)
set(add_latex_document_args
INPUTS ${input_docs}
CONFIGURE TitlePage.tex
IMAGES ${images}
IMAGE_DIRS images/ColorTables
DEPENDS example-listings
USE_INDEX
)
add_latex_document(VTKmUsersGuide.tex
${add_latex_document_args}
)
add_latex_document(GettingStarted.tex
${add_latex_document_args}
EXCLUDE_FROM_ALL
)
add_latex_document(Using.tex
${add_latex_document_args}
EXCLUDE_FROM_ALL
)
add_latex_document(Developing.tex
${add_latex_document_args}
EXCLUDE_FROM_ALL
)
add_latex_document(Advanced.tex
${add_latex_document_args}
EXCLUDE_FROM_ALL
)