vtk-m/vtkm/worklet/CMakeLists.txt
Li-Ta Lo f3c65d3404 Merge topic 'field_transform'
b8c1f5aac make calling to emplace_back type safe
43dd4638e use auto in range-based for loop
9958394fa tidy-up language usage and coding style conformation
b3327e544 move auto field = ... around to minimize accidential capture
455c20437 Migrate field_transform

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2696
2022-02-02 17:18:07 -05:00

127 lines
3.1 KiB
CMake

##============================================================================
## Copyright (c) Kitware, Inc.
## All rights reserved.
## See LICENSE.txt for details.
##
## 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
BoundaryTypes.h
AveragePointNeighborhood.h
CellDeepCopy.h
CellMeasure.h
ContourTreeUniform.h
ContourTreeUniformAugmented.h
CosmoTools.h
DispatcherMapField.h
DispatcherMapTopology.h
DispatcherCellNeighborhood.h
DispatcherPointNeighborhood.h
DispatcherReduceByKey.h
FieldStatistics.h
ImageDifference.h
KdTree3D.h # Deprecated
KernelSplatter.h
Keys.h
LagrangianStructures.h
MaskIndices.h
MaskNone.h
MaskSelect.h
MeshQuality.h
MIR.h
NDimsHistMarginalization.h
Normalize.h
ParticleAdvection.h
Probe.h
ScalarsToColors.h
ScatterCounting.h
ScatterIdentity.h
ScatterPermutation.h
ScatterUniform.h
SplitSharpEdges.h
StableSortIndices.h
DescriptiveStatistics.h
StreamLineUniformGrid.h
StreamSurface.h
Tetrahedralize.h
TriangleWinding.h
Triangulate.h
Tube.h
VertexClustering.h
WaveletCompressor.h
WorkletMapField.h
WorkletMapTopology.h
WorkletNeighborhood.h
WorkletCellNeighborhood.h
WorkletPointNeighborhood.h
WorkletReduceByKey.h
ZFPCompressor.h
ZFPDecompress.h
ZFP1DCompressor.h
ZFP1DDecompress.h
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)
add_subdirectory(cellmetrics)
add_subdirectory(colorconversion)
add_subdirectory(contourtree)
add_subdirectory(contourtree_augmented)
add_subdirectory(contourtree_distributed)
add_subdirectory(cosmotools)
add_subdirectory(lcs)
add_subdirectory(mir)
add_subdirectory(moments)
add_subdirectory(splatkernels)
add_subdirectory(spatialstructure)
add_subdirectory(tetrahedralize)
add_subdirectory(triangulate)
add_subdirectory(wavelets)
add_subdirectory(particleadvection)
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 ()