mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
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.
85 lines
1.8 KiB
CMake
85 lines
1.8 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.
|
|
##============================================================================
|
|
|
|
# Configure version file. (Other configuration in internal/Configure.h)
|
|
vtkm_get_kit_name(kit_name kit_dir)
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Version.h.in
|
|
${VTKm_BINARY_INCLUDE_DIR}/${kit_dir}/Version.h
|
|
@ONLY)
|
|
vtkm_install_headers(
|
|
vtkm ${VTKm_BINARY_INCLUDE_DIR}/${kit_dir}/Version.h)
|
|
|
|
set(headers
|
|
Assert.h
|
|
Atomic.h
|
|
BinaryPredicates.h
|
|
BinaryOperators.h
|
|
Bitset.h
|
|
Bounds.h
|
|
CellClassification.h
|
|
CellShape.h
|
|
CellTraits.h
|
|
Deprecated.h
|
|
ErrorCode.h
|
|
Flags.h
|
|
Geometry.h
|
|
Hash.h
|
|
ImplicitFunction.h
|
|
List.h
|
|
LowerBound.h
|
|
Math.h
|
|
Matrix.h
|
|
NewtonsMethod.h
|
|
Pair.h
|
|
Particle.h
|
|
Range.h
|
|
RangeId.h
|
|
RangeId2.h
|
|
RangeId3.h
|
|
StaticAssert.h
|
|
Swap.h
|
|
TopologyElementTag.h
|
|
Transform3D.h
|
|
Tuple.h
|
|
TypeList.h
|
|
Types.h
|
|
TypeTraits.h
|
|
VecAxisAlignedPointCoordinates.h
|
|
VecFromPortal.h
|
|
VecFromPortalPermute.h
|
|
VectorAnalysis.h
|
|
VecFlat.h
|
|
VecTraits.h
|
|
VecVariable.h
|
|
UnaryPredicates.h
|
|
UpperBound.h
|
|
)
|
|
|
|
set(template_sources
|
|
Geometry.hxx
|
|
)
|
|
|
|
vtkm_pyexpander_generated_file(Math.h)
|
|
vtkm_pyexpander_generated_file(Tuple.h)
|
|
|
|
vtkm_declare_headers(
|
|
${headers}
|
|
${template_sources}
|
|
)
|
|
|
|
# Declare testing headers to install. (Needs to be special because they are in a different dir.)
|
|
set(testing_headers
|
|
testing/Testing.h
|
|
testing/VecTraitsTests.h
|
|
)
|
|
vtkm_install_headers(${kit_dir}/testing ${testing_headers})
|
|
|
|
add_subdirectory(internal)
|