2014-02-10 18:58:41 +00:00
|
|
|
##============================================================================
|
|
|
|
## Copyright (c) Kitware, Inc.
|
|
|
|
## All rights reserved.
|
|
|
|
## See LICENSE.txt for details.
|
2019-04-15 23:24:21 +00:00
|
|
|
##
|
2014-02-10 18:58:41 +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.
|
|
|
|
##============================================================================
|
|
|
|
|
2017-01-26 17:33:42 +00:00
|
|
|
# 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
|
2017-09-29 17:07:10 +00:00
|
|
|
${VTKm_BINARY_INCLUDE_DIR}/${kit_dir}/Version.h
|
2017-01-26 17:33:42 +00:00
|
|
|
@ONLY)
|
|
|
|
vtkm_install_headers(
|
2017-09-29 17:07:10 +00:00
|
|
|
vtkm ${VTKm_BINARY_INCLUDE_DIR}/${kit_dir}/Version.h)
|
2017-01-26 17:33:42 +00:00
|
|
|
|
2014-02-10 18:58:41 +00:00
|
|
|
set(headers
|
2016-04-20 20:19:22 +00:00
|
|
|
Assert.h
|
2017-03-07 19:46:55 +00:00
|
|
|
BaseComponent.h
|
2015-07-20 21:01:13 +00:00
|
|
|
BinaryPredicates.h
|
2015-07-21 17:22:05 +00:00
|
|
|
BinaryOperators.h
|
2018-09-07 20:49:51 +00:00
|
|
|
Bitset.h
|
2016-05-26 16:45:03 +00:00
|
|
|
Bounds.h
|
2019-03-21 21:00:09 +00:00
|
|
|
CellClassification.h
|
2015-08-16 18:53:44 +00:00
|
|
|
CellShape.h
|
2015-08-19 16:01:26 +00:00
|
|
|
CellTraits.h
|
2017-12-20 22:07:44 +00:00
|
|
|
Flags.h
|
2018-06-08 04:27:30 +00:00
|
|
|
Geometry.h
|
2017-08-24 16:02:18 +00:00
|
|
|
Hash.h
|
2017-10-23 13:38:33 +00:00
|
|
|
ImplicitFunction.h
|
2014-03-31 21:28:09 +00:00
|
|
|
ListTag.h
|
2015-05-27 04:32:10 +00:00
|
|
|
Math.h
|
2015-07-02 17:20:21 +00:00
|
|
|
Matrix.h
|
2016-04-14 20:36:02 +00:00
|
|
|
NewtonsMethod.h
|
2014-10-16 22:31:55 +00:00
|
|
|
Pair.h
|
2016-05-26 15:37:48 +00:00
|
|
|
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
|
2015-09-17 19:45:35 +00:00
|
|
|
StaticAssert.h
|
2018-06-01 18:01:23 +00:00
|
|
|
Swap.h
|
2015-07-31 19:59:37 +00:00
|
|
|
TopologyElementTag.h
|
2016-06-08 18:39:47 +00:00
|
|
|
Transform3D.h
|
2014-03-31 21:28:09 +00:00
|
|
|
TypeListTag.h
|
2014-02-10 18:58:41 +00:00
|
|
|
Types.h
|
|
|
|
TypeTraits.h
|
2017-07-05 19:58:35 +00:00
|
|
|
VecAxisAlignedPointCoordinates.h
|
2016-10-25 20:55:48 +00:00
|
|
|
VecFromPortal.h
|
|
|
|
VecFromPortalPermute.h
|
2018-11-06 16:20:30 +00:00
|
|
|
VecFromVirtPortal.h
|
2016-10-25 20:55:48 +00:00
|
|
|
VectorAnalysis.h
|
2014-10-07 23:27:31 +00:00
|
|
|
VecTraits.h
|
2015-08-12 23:32:19 +00:00
|
|
|
VecVariable.h
|
2017-10-23 13:38:33 +00:00
|
|
|
VirtualObjectBase.h
|
2015-07-20 20:29:43 +00:00
|
|
|
UnaryPredicates.h
|
2018-06-08 04:27:30 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(template_sources
|
|
|
|
Geometry.hxx
|
|
|
|
)
|
2014-02-10 18:58:41 +00:00
|
|
|
|
2015-05-27 04:32:10 +00:00
|
|
|
vtkm_pyexpander_generated_file(Math.h)
|
|
|
|
|
2018-06-08 04:27:30 +00:00
|
|
|
vtkm_declare_headers(
|
|
|
|
${headers}
|
|
|
|
${template_sources}
|
|
|
|
)
|
2014-02-10 18:58:41 +00:00
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#first add all the components vtkm that are shared between control and exec
|
2018-02-22 14:59:15 +00:00
|
|
|
add_subdirectory(thirdparty/diy)
|
2019-06-18 19:19:05 +00:00
|
|
|
add_subdirectory(thirdparty/lodepng)
|
2018-08-30 17:29:36 +00:00
|
|
|
if(VTKm_ENABLE_LOGGING)
|
|
|
|
add_subdirectory(thirdparty/loguru)
|
|
|
|
endif()
|
2019-06-19 13:52:43 +00:00
|
|
|
add_subdirectory(thirdparty/optionparser)
|
|
|
|
add_subdirectory(thirdparty/taotuple)
|
2014-02-10 18:58:41 +00:00
|
|
|
add_subdirectory(testing)
|
|
|
|
add_subdirectory(internal)
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#add the control and exec folders
|
2014-02-10 19:53:03 +00:00
|
|
|
add_subdirectory(cont)
|
2014-06-10 17:14:11 +00:00
|
|
|
add_subdirectory(exec)
|
2014-10-15 21:47:39 +00:00
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#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)
|
|
|
|
|
2016-10-03 22:46:13 +00:00
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
# Build rendering
|
2017-10-05 14:28:44 +00:00
|
|
|
add_subdirectory(rendering)
|
2016-10-03 22:46:13 +00:00
|
|
|
|
2017-10-05 14:28:44 +00:00
|
|
|
add_subdirectory(interop)
|
2016-10-03 22:46:13 +00:00
|
|
|
|
2015-10-22 21:18:33 +00:00
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#add the io folder
|
|
|
|
add_subdirectory(io)
|