vtk-m/vtkm/CMakeLists.txt

109 lines
2.6 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
BinaryPredicates.h
BinaryOperators.h
Bitset.h
Bounds.h
CellClassification.h
CellShape.h
CellTraits.h
Flags.h
Geometry.h
Hash.h
2017-10-23 13:38:33 +00:00
ImplicitFunction.h
ListTag.h
Math.h
Matrix.h
NewtonsMethod.h
Pair.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
TypeListTag.h
Types.h
TypeTraits.h
VecAxisAlignedPointCoordinates.h
VecFromPortal.h
VecFromPortalPermute.h
VecFromVirtPortal.h
VectorAnalysis.h
VecTraits.h
VecVariable.h
2017-10-23 13:38:33 +00:00
VirtualObjectBase.h
UnaryPredicates.h
)
set(template_sources
Geometry.hxx
)
vtkm_pyexpander_generated_file(Math.h)
vtkm_declare_headers(
${headers}
${template_sources}
)
#-----------------------------------------------------------------------------
#first add all the components vtkm that are shared between control and exec
add_subdirectory(thirdparty/diy)
add_subdirectory(thirdparty/lodepng)
if(VTKm_ENABLE_LOGGING)
add_subdirectory(thirdparty/loguru)
endif()
add_subdirectory(thirdparty/optionparser)
add_subdirectory(thirdparty/taotuple)
2019-10-07 19:38:36 +00:00
add_subdirectory(thirdparty/lcl)
2019-09-25 01:22:10 +00:00
add_subdirectory(testing)
add_subdirectory(internal)
#-----------------------------------------------------------------------------
#add the control and exec folders
add_subdirectory(cont)
add_subdirectory(exec)
#-----------------------------------------------------------------------------
#add the worklet folder
add_subdirectory(worklet)
2015-07-06 21:44:29 +00:00
2016-01-19 14:59:31 +00:00
#-----------------------------------------------------------------------------
#add the filter folder
add_subdirectory(filter)
#-----------------------------------------------------------------------------
# Build rendering
add_subdirectory(rendering)
add_subdirectory(interop)
#-----------------------------------------------------------------------------
#add the io folder
add_subdirectory(io)
#add the source folder
add_subdirectory(source)