mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
51 lines
1.1 KiB
CMake
51 lines
1.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(core_headers
|
|
FieldSelection.h
|
|
Filter.h
|
|
FilterField.h
|
|
MapFieldMergeAverage.h
|
|
MapFieldPermutation.h
|
|
TaskQueue.h
|
|
)
|
|
set(core_sources
|
|
FieldSelection.cxx
|
|
FilterField.cxx
|
|
)
|
|
set(core_sources_device
|
|
MapFieldMergeAverage.cxx
|
|
MapFieldPermutation.cxx
|
|
Filter.cxx
|
|
)
|
|
|
|
vtkm_library(
|
|
NAME vtkm_filter_core
|
|
HEADERS ${core_headers}
|
|
SOURCES ${core_sources}
|
|
DEVICE_SOURCES ${core_sources_device}
|
|
USE_VTKM_JOB_POOL
|
|
)
|
|
|
|
add_library(vtkm_filter INTERFACE)
|
|
|
|
set_target_properties(
|
|
vtkm_filter_core
|
|
PROPERTIES
|
|
UNITY_BUILD ON
|
|
UNITY_BUILD_MODE BATCH
|
|
)
|
|
|
|
target_link_libraries(vtkm_filter PUBLIC INTERFACE
|
|
vtkm_filter_core
|
|
)
|
|
|
|
vtkm_install_targets(TARGETS vtkm_filter)
|