mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-20 02:55:47 +00:00
30 lines
917 B
CMake
30 lines
917 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(unit_tests
|
|
UnitTestBOVDataSetReader.cxx
|
|
UnitTestFileUtils.cxx
|
|
UnitTestPixelTypes.cxx
|
|
UnitTestVTKDataSetReader.cxx
|
|
UnitTestVTKDataSetWriter.cxx
|
|
)
|
|
|
|
set(unit_test_libraries vtkm_lodepng vtkm_io)
|
|
|
|
if(VTKm_ENABLE_RENDERING)
|
|
set(unit_tests ${unit_tests}
|
|
UnitTestImageWriter.cxx
|
|
)
|
|
|
|
set(unit_test_libraries ${unit_test_libraries} vtkm_rendering)
|
|
endif()
|
|
|
|
vtkm_unit_tests(SOURCES ${unit_tests} ALL_BACKENDS LIBRARIES ${unit_test_libraries})
|