mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
58d3123370
vtkm::internal::Variant is a simplified version of C++17's std::variant or boost's variant. It is a template that takes a list of types. The Variant may be set to any one of those types. A CastAndCall allows you to call a functor with the appropriately cast type.
19 lines
669 B
CMake
19 lines
669 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
|
|
UnitTestArrayPortalValueReference.cxx
|
|
UnitTestConfigureFor32.cxx
|
|
UnitTestConfigureFor64.cxx
|
|
UnitTestFunctionInterface.cxx
|
|
UnitTestVariant.cxx
|
|
)
|
|
vtkm_unit_tests(SOURCES ${unit_tests})
|