vtk-m/vtkm/worklet/CMakeLists.txt

149 lines
3.5 KiB
CMake
Raw Normal View History

##============================================================================
## Copyright (c) Kitware, Inc.
## All rights reserved.
## See LICENSE.txt for details.
2019-04-15 23:24:21 +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
AverageByKey.h
2020-07-15 20:41:32 +00:00
BoundaryTypes.h
AveragePointNeighborhood.h
2015-06-09 15:02:17 +00:00
CellAverage.h
2016-11-05 03:23:07 +00:00
CellDeepCopy.h
CellMeasure.h
2015-07-31 14:33:54 +00:00
Clip.h
ContourTreeUniform.h
2018-09-26 17:48:37 +00:00
ContourTreeUniformAugmented.h
2018-06-20 20:40:47 +00:00
CoordinateSystemTransform.h
CosmoTools.h
2017-12-22 20:20:20 +00:00
CrossProduct.h
DispatcherMapField.h
DispatcherMapTopology.h
2020-07-15 20:41:32 +00:00
DispatcherCellNeighborhood.h
DispatcherPointNeighborhood.h
DispatcherReduceByKey.h
FieldStatistics.h
Gradient.h
ImageDifference.h
KdTree3D.h # Deprecated
KernelSplatter.h
Keys.h
2019-08-08 22:28:19 +00:00
LagrangianStructures.h
Magnitude.h
2019-08-18 01:10:57 +00:00
Contour.h
MaskIndices.h
MaskNone.h
MaskSelect.h
MeshQuality.h
MIR.h
NDimsHistMarginalization.h
Normalize.h
2019-01-24 16:09:21 +00:00
OrientCellNormals.h
OrientNormals.h
OrientPointNormals.h
OrientPointAndCellNormals.h
ParticleAdvection.h
PointAverage.h
PointElevation.h
PointTransform.h
2018-01-09 19:01:43 +00:00
Probe.h
ScalarsToColors.h
2015-09-24 22:38:42 +00:00
ScatterCounting.h
ScatterIdentity.h
2017-06-19 13:49:30 +00:00
ScatterPermutation.h
ScatterUniform.h
SplitSharpEdges.h
StableSortIndices.h
DescriptiveStatistics.h
StreamLineUniformGrid.h
2019-07-26 15:20:12 +00:00
StreamSurface.h
SurfaceNormals.h
Tetrahedralize.h
2019-06-26 16:53:15 +00:00
TriangleWinding.h
Triangulate.h
2019-06-18 14:38:41 +00:00
Tube.h
VertexClustering.h
WarpScalar.h
WarpVector.h
WaveletCompressor.h
WorkletMapField.h
WorkletMapTopology.h
2020-07-21 14:48:49 +00:00
WorkletNeighborhood.h
2020-07-15 20:41:32 +00:00
WorkletCellNeighborhood.h
WorkletPointNeighborhood.h
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
)
set(header_impls
ScalarsToColors.hxx
Keys.hxx
)
# 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
KeysUnsignedTypes.cxx
KeysSignedTypes.cxx
MaskSelect.cxx
ScatterCounting.cxx
)
#-----------------------------------------------------------------------------
add_subdirectory(internal)
2019-09-24 05:27:12 +00:00
add_subdirectory(cellmetrics)
add_subdirectory(clip)
2018-11-01 16:25:10 +00:00
add_subdirectory(colorconversion)
add_subdirectory(connectivities)
add_subdirectory(contour)
add_subdirectory(contourtree)
2018-09-26 17:48:37 +00:00
add_subdirectory(contourtree_augmented)
add_subdirectory(contourtree_distributed)
add_subdirectory(cosmotools)
add_subdirectory(gradient)
add_subdirectory(histogram)
2019-07-29 16:50:54 +00:00
add_subdirectory(lcs)
add_subdirectory(mir)
2019-04-23 14:57:35 +00:00
add_subdirectory(moments)
add_subdirectory(splatkernels)
add_subdirectory(spatialstructure)
add_subdirectory(tetrahedralize)
add_subdirectory(triangulate)
add_subdirectory(wavelets)
add_subdirectory(particleadvection)
2018-08-27 16:00:46 +00:00
add_subdirectory(zfp)
vtkm_library(
NAME vtkm_worklet
SOURCES ${sources_no_device}
TEMPLATE_SOURCES ${header_impls}
HEADERS ${headers}
DEVICE_SOURCES ${sources_device}
USE_VTKM_JOB_POOL
)
target_link_libraries(vtkm_worklet PUBLIC vtkm_cont)
set_source_files_properties(${sources_device} PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON)
#-----------------------------------------------------------------------------
if (VTKm_ENABLE_TESTING)
add_subdirectory(testing)
endif ()