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.
33 lines
1.1 KiB
CMake
33 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.
|
|
##============================================================================
|
|
|
|
# Headers, which are used by tests all over VTK-m, are expected to be in the
|
|
# testing directory where tests are located. We could move things around so
|
|
# that this module is built in the testing directory and the tests are created
|
|
# somewhere else, which would also be confusing to developers trying to add
|
|
# tests. This seems like the least confusing option.
|
|
set(testing_library_headers
|
|
../testing/ExplicitTestData.h
|
|
../testing/MakeTestDataSet.h
|
|
../testing/Testing.h
|
|
)
|
|
|
|
set(testing_library_sources
|
|
MakeTestDataSet.cxx
|
|
TestEqualArrayHandles.cxx
|
|
Testing.cxx
|
|
)
|
|
|
|
vtkm_library(
|
|
NAME vtkm_cont_testing
|
|
SOURCES ${testing_library_sources}
|
|
HEADERS ${testing_library_headers}
|
|
)
|