vtk-m/vtkm/source/CMakeLists.txt
Manish Mathai a2c3c80ce0 Make perlin generation as a vtkm::source::Source source
Making it a `vtkm::source::Source` makes it easier to use in other
benchmarks or tests.
2021-12-06 13:09:03 -08:00

38 lines
925 B
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
Oscillator.h
Source.h
Tangle.h
Wavelet.h
PerlinNoise.h
)
set(device_sources
Oscillator.cxx
Source.cxx
Tangle.cxx
Wavelet.cxx
PerlinNoise.cxx
)
vtkm_library(NAME vtkm_source
DEVICE_SOURCES ${device_sources}
HEADERS ${headers}
)
target_link_libraries(vtkm_source PUBLIC vtkm_cont)
#-----------------------------------------------------------------------------
if (VTKm_ENABLE_TESTING)
add_subdirectory(testing)
endif ()