mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 09:59:12 +00:00
3e1339f9a7
With the major revision 2.0 of VTK-m, many items previously marked as deprecated were removed. If updating to a new version of VTK-m, it is recommended to first update to VTK-m 1.9, which will include the deprecated features but provide warnings (with the right compiler) that will point to the replacement code. Once the deprecations have been fixed, updating to 2.0 should be smoother.
88 lines
2.1 KiB
CMake
88 lines
2.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
|
|
CosmoTools.h
|
|
DispatcherMapField.h
|
|
DispatcherMapTopology.h
|
|
DispatcherCellNeighborhood.h
|
|
DispatcherPointNeighborhood.h
|
|
DispatcherReduceByKey.h
|
|
FieldStatistics.h
|
|
KernelSplatter.h
|
|
Keys.h
|
|
MaskIndices.h
|
|
MaskNone.h
|
|
MaskSelect.h
|
|
NDimsHistMarginalization.h
|
|
Normalize.h
|
|
ScalarsToColors.h
|
|
ScatterCounting.h
|
|
ScatterIdentity.h
|
|
ScatterPermutation.h
|
|
ScatterUniform.h
|
|
StableSortIndices.h
|
|
DescriptiveStatistics.h
|
|
StreamLineUniformGrid.h
|
|
TriangleWinding.h
|
|
WaveletCompressor.h
|
|
WorkletMapField.h
|
|
WorkletMapTopology.h
|
|
WorkletNeighborhood.h
|
|
WorkletCellNeighborhood.h
|
|
WorkletPointNeighborhood.h
|
|
WorkletReduceByKey.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(colorconversion)
|
|
add_subdirectory(cosmotools)
|
|
add_subdirectory(splatkernels)
|
|
add_subdirectory(spatialstructure)
|
|
add_subdirectory(wavelets)
|
|
|
|
vtkm_library(
|
|
NAME vtkm_worklet
|
|
SOURCES ${sources_no_device}
|
|
TEMPLATE_SOURCES ${header_impls}
|
|
HEADERS ${headers}
|
|
DEVICE_SOURCES ${sources_device}
|
|
USE_VTKM_JOB_POOL
|
|
)
|
|
|
|
set_source_files_properties(${sources_device} PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON)
|