vtk-m/vtkm/CMakeLists.txt

85 lines
1.8 KiB
CMake
Raw Normal View History

##============================================================================
## Copyright (c) Kitware, Inc.
## All rights reserved.
## See LICENSE.txt for details.
2019-04-15 23:24:21 +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.
##============================================================================
# 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
2017-10-23 13:38:33 +00:00
ImplicitFunction.h
List.h
LowerBound.h
Math.h
Matrix.h
NewtonsMethod.h
Pair.h
2019-10-09 02:31:11 +00:00
Particle.h
Range.h
2017-05-23 19:17:54 +00:00
RangeId.h
2019-02-07 20:26:20 +00:00
RangeId2.h
2017-05-23 19:17:54 +00:00
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})
2019-09-25 01:22:10 +00:00
add_subdirectory(internal)