2019-04-15 23:24:21 +00:00
|
|
|
##============================================================================
|
2015-10-22 21:18:33 +00:00
|
|
|
## Copyright (c) Kitware, Inc.
|
|
|
|
## All rights reserved.
|
|
|
|
## See LICENSE.txt for details.
|
2019-04-15 23:24:21 +00:00
|
|
|
##
|
2015-10-22 21:18:33 +00:00
|
|
|
## 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
|
2020-05-11 21:08:44 +00:00
|
|
|
UnitTestBOVDataSetReader.cxx
|
2019-11-22 22:40:09 +00:00
|
|
|
UnitTestPixelTypes.cxx
|
2020-04-30 11:37:55 +00:00
|
|
|
UnitTestVTKDataSetReader.cxx
|
2015-10-30 19:45:38 +00:00
|
|
|
UnitTestVTKDataSetWriter.cxx
|
2019-11-22 22:40:09 +00:00
|
|
|
)
|
2015-10-22 21:18:33 +00:00
|
|
|
|
2020-05-19 18:27:01 +00:00
|
|
|
set(unit_test_libraries vtkm_lodepng vtkm_io)
|
2019-11-22 22:40:09 +00:00
|
|
|
|
2020-05-19 18:27:01 +00:00
|
|
|
if(VTKm_ENABLE_RENDERING)
|
|
|
|
set(unit_tests ${unit_tests}
|
|
|
|
UnitTestImageWriter.cxx
|
|
|
|
)
|
2019-11-22 22:40:09 +00:00
|
|
|
|
2020-05-19 18:27:01 +00:00
|
|
|
set(unit_test_libraries ${unit_test_libraries} vtkm_rendering)
|
|
|
|
endif()
|
2019-11-22 22:40:09 +00:00
|
|
|
|
2020-05-19 18:27:01 +00:00
|
|
|
vtkm_unit_tests(SOURCES ${unit_tests} ALL_BACKENDS LIBRARIES ${unit_test_libraries})
|