2014-10-15 21:47:39 +00:00
|
|
|
##============================================================================
|
|
|
|
## Copyright (c) Kitware, Inc.
|
|
|
|
## All rights reserved.
|
|
|
|
## See LICENSE.txt for details.
|
2019-04-15 23:24:21 +00:00
|
|
|
##
|
2014-10-15 21:47:39 +00:00
|
|
|
## This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
## PURPOSE. See the above copyright notice for more information.
|
|
|
|
##============================================================================
|
|
|
|
|
|
|
|
set(headers
|
2015-08-17 18:44:36 +00:00
|
|
|
AverageByKey.h
|
2020-07-15 20:41:32 +00:00
|
|
|
BoundaryTypes.h
|
2020-01-30 00:51:18 +00:00
|
|
|
AveragePointNeighborhood.h
|
2015-06-09 15:02:17 +00:00
|
|
|
CellAverage.h
|
2016-11-05 03:23:07 +00:00
|
|
|
CellDeepCopy.h
|
2018-05-10 18:56:45 +00:00
|
|
|
CellMeasure.h
|
2017-01-09 20:54:47 +00:00
|
|
|
ContourTreeUniform.h
|
2018-09-26 17:48:37 +00:00
|
|
|
ContourTreeUniformAugmented.h
|
2018-06-20 20:40:47 +00:00
|
|
|
CoordinateSystemTransform.h
|
2017-09-05 22:36:21 +00:00
|
|
|
CosmoTools.h
|
2016-12-15 16:07:04 +00:00
|
|
|
DispatcherMapField.h
|
|
|
|
DispatcherMapTopology.h
|
2020-07-15 20:41:32 +00:00
|
|
|
DispatcherCellNeighborhood.h
|
2017-07-11 12:33:56 +00:00
|
|
|
DispatcherPointNeighborhood.h
|
2016-12-19 20:55:17 +00:00
|
|
|
DispatcherReduceByKey.h
|
2015-09-21 17:55:10 +00:00
|
|
|
FieldStatistics.h
|
2016-11-10 16:32:46 +00:00
|
|
|
Gradient.h
|
2020-01-30 00:51:18 +00:00
|
|
|
ImageDifference.h
|
2021-07-21 18:17:06 +00:00
|
|
|
KdTree3D.h # Deprecated
|
2016-06-02 16:10:21 +00:00
|
|
|
KernelSplatter.h
|
2016-12-16 21:25:09 +00:00
|
|
|
Keys.h
|
2019-08-08 22:28:19 +00:00
|
|
|
LagrangianStructures.h
|
2016-06-02 16:10:21 +00:00
|
|
|
Magnitude.h
|
2019-01-21 02:14:55 +00:00
|
|
|
MaskIndices.h
|
|
|
|
MaskNone.h
|
|
|
|
MaskSelect.h
|
2019-01-14 23:27:19 +00:00
|
|
|
MeshQuality.h
|
2021-08-05 22:15:28 +00:00
|
|
|
MIR.h
|
2017-09-02 22:35:21 +00:00
|
|
|
NDimsHistMarginalization.h
|
2017-12-18 19:18:23 +00:00
|
|
|
Normalize.h
|
2019-01-24 16:09:21 +00:00
|
|
|
OrientCellNormals.h
|
|
|
|
OrientNormals.h
|
|
|
|
OrientPointNormals.h
|
|
|
|
OrientPointAndCellNormals.h
|
2017-07-12 02:22:28 +00:00
|
|
|
ParticleAdvection.h
|
2016-12-14 19:05:50 +00:00
|
|
|
PointAverage.h
|
2016-12-15 16:07:04 +00:00
|
|
|
PointElevation.h
|
2018-04-20 12:35:23 +00:00
|
|
|
PointTransform.h
|
2018-01-09 19:01:43 +00:00
|
|
|
Probe.h
|
2017-12-14 18:13:55 +00:00
|
|
|
ScalarsToColors.h
|
2015-09-24 22:38:42 +00:00
|
|
|
ScatterCounting.h
|
2015-09-17 05:45:33 +00:00
|
|
|
ScatterIdentity.h
|
2017-06-19 13:49:30 +00:00
|
|
|
ScatterPermutation.h
|
2015-11-07 11:57:16 +00:00
|
|
|
ScatterUniform.h
|
2018-09-07 20:49:51 +00:00
|
|
|
SplitSharpEdges.h
|
2017-09-22 15:54:02 +00:00
|
|
|
StableSortIndices.h
|
2020-06-15 20:24:00 +00:00
|
|
|
DescriptiveStatistics.h
|
2015-11-23 19:54:12 +00:00
|
|
|
StreamLineUniformGrid.h
|
2019-07-26 15:20:12 +00:00
|
|
|
StreamSurface.h
|
2017-06-07 16:21:46 +00:00
|
|
|
SurfaceNormals.h
|
2017-03-23 17:58:00 +00:00
|
|
|
Tetrahedralize.h
|
2019-06-26 16:53:15 +00:00
|
|
|
TriangleWinding.h
|
2017-03-23 17:58:00 +00:00
|
|
|
Triangulate.h
|
2019-06-18 14:38:41 +00:00
|
|
|
Tube.h
|
2015-06-18 17:07:31 +00:00
|
|
|
VertexClustering.h
|
2018-06-20 15:51:51 +00:00
|
|
|
WarpScalar.h
|
2018-06-01 15:36:32 +00:00
|
|
|
WarpVector.h
|
2016-07-27 20:28:38 +00:00
|
|
|
WaveletCompressor.h
|
2016-12-15 16:07:04 +00:00
|
|
|
WorkletMapField.h
|
|
|
|
WorkletMapTopology.h
|
2020-07-21 14:48:49 +00:00
|
|
|
WorkletNeighborhood.h
|
2020-07-15 20:41:32 +00:00
|
|
|
WorkletCellNeighborhood.h
|
2017-07-11 12:33:56 +00:00
|
|
|
WorkletPointNeighborhood.h
|
2016-12-19 20:55:17 +00:00
|
|
|
WorkletReduceByKey.h
|
2018-12-07 17:02:57 +00:00
|
|
|
ZFPCompressor.h
|
|
|
|
ZFPDecompress.h
|
2018-12-07 19:02:51 +00:00
|
|
|
ZFP1DCompressor.h
|
2018-12-07 21:02:16 +00:00
|
|
|
ZFP1DDecompress.h
|
2018-12-07 17:02:57 +00:00
|
|
|
ZFP2DCompressor.h
|
|
|
|
ZFP2DDecompress.h
|
2014-10-15 21:47:39 +00:00
|
|
|
)
|
|
|
|
|
2017-12-14 18:13:55 +00:00
|
|
|
|
|
|
|
set(header_impls
|
|
|
|
ScalarsToColors.hxx
|
2019-08-22 17:41:27 +00:00
|
|
|
Keys.hxx
|
2017-12-14 18:13:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
2019-01-14 21:50:08 +00:00
|
|
|
# This is a list of sources that does not have code that runs on devices. It only
|
|
|
|
# needs a standard system C++ compiler.
|
|
|
|
set(sources_no_device
|
|
|
|
)
|
|
|
|
|
|
|
|
# This is a list of sources that has code that runs on devices and might need to
|
|
|
|
# be compiled with a device-specific compiler (like CUDA).
|
|
|
|
set(sources_device
|
2019-08-22 17:41:27 +00:00
|
|
|
KeysUnsignedTypes.cxx
|
|
|
|
KeysSignedTypes.cxx
|
2019-01-21 02:14:55 +00:00
|
|
|
MaskSelect.cxx
|
2019-01-14 21:50:08 +00:00
|
|
|
ScatterCounting.cxx
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2014-10-15 21:47:39 +00:00
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
add_subdirectory(internal)
|
2019-09-24 05:27:12 +00:00
|
|
|
add_subdirectory(cellmetrics)
|
2018-11-01 16:25:10 +00:00
|
|
|
add_subdirectory(colorconversion)
|
2017-01-09 20:54:47 +00:00
|
|
|
add_subdirectory(contourtree)
|
2018-09-26 17:48:37 +00:00
|
|
|
add_subdirectory(contourtree_augmented)
|
2020-06-12 17:50:01 +00:00
|
|
|
add_subdirectory(contourtree_distributed)
|
2017-09-05 22:36:21 +00:00
|
|
|
add_subdirectory(cosmotools)
|
2017-05-31 19:03:03 +00:00
|
|
|
add_subdirectory(gradient)
|
2019-01-29 19:28:19 +00:00
|
|
|
add_subdirectory(histogram)
|
2019-07-29 16:50:54 +00:00
|
|
|
add_subdirectory(lcs)
|
2021-08-05 22:15:28 +00:00
|
|
|
add_subdirectory(mir)
|
2019-04-23 14:57:35 +00:00
|
|
|
add_subdirectory(moments)
|
2016-06-02 16:10:21 +00:00
|
|
|
add_subdirectory(splatkernels)
|
2017-06-12 20:32:44 +00:00
|
|
|
add_subdirectory(spatialstructure)
|
2017-03-23 17:58:00 +00:00
|
|
|
add_subdirectory(tetrahedralize)
|
|
|
|
add_subdirectory(triangulate)
|
2016-07-27 20:28:38 +00:00
|
|
|
add_subdirectory(wavelets)
|
2017-04-18 20:49:03 +00:00
|
|
|
add_subdirectory(particleadvection)
|
2018-08-27 16:00:46 +00:00
|
|
|
add_subdirectory(zfp)
|
2014-10-15 21:47:39 +00:00
|
|
|
|
2019-01-14 21:50:08 +00:00
|
|
|
vtkm_library(
|
|
|
|
NAME vtkm_worklet
|
|
|
|
SOURCES ${sources_no_device}
|
|
|
|
TEMPLATE_SOURCES ${header_impls}
|
|
|
|
HEADERS ${headers}
|
2019-07-08 18:09:09 +00:00
|
|
|
DEVICE_SOURCES ${sources_device}
|
2019-11-29 20:49:54 +00:00
|
|
|
USE_VTKM_JOB_POOL
|
2019-01-14 21:50:08 +00:00
|
|
|
)
|
|
|
|
target_link_libraries(vtkm_worklet PUBLIC vtkm_cont)
|
2014-10-15 21:47:39 +00:00
|
|
|
|
2019-11-26 16:22:03 +00:00
|
|
|
set_source_files_properties(${sources_device} PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON)
|
2014-10-15 21:47:39 +00:00
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
2021-06-01 22:38:19 +00:00
|
|
|
if (VTKm_ENABLE_TESTING)
|
|
|
|
add_subdirectory(testing)
|
|
|
|
endif ()
|