2014-02-10 18:58:41 +00:00
|
|
|
##============================================================================
|
|
|
|
## 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.
|
|
|
|
##
|
|
|
|
## Copyright 2014 Sandia Corporation.
|
|
|
|
## Copyright 2014 UT-Battelle, LLC.
|
2015-05-21 12:09:22 +00:00
|
|
|
## Copyright 2014 Los Alamos National Security.
|
2014-02-10 18:58:41 +00:00
|
|
|
##
|
|
|
|
## Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
|
|
|
|
## the U.S. Government retains certain rights in this software.
|
|
|
|
##
|
|
|
|
## Under the terms of Contract DE-AC52-06NA25396 with Los Alamos National
|
|
|
|
## Laboratory (LANL), the U.S. Government retains certain rights in
|
|
|
|
## this software.
|
|
|
|
##============================================================================
|
|
|
|
|
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-08-17 16:04:30 +00:00
|
|
|
${VTKm_BINARY_DIR}/include/${kit_dir}/Version.h
|
2017-01-26 17:33:42 +00:00
|
|
|
@ONLY)
|
|
|
|
vtkm_install_headers(
|
2017-08-17 17:59:50 +00:00
|
|
|
vtkm ${VTKm_BINARY_DIR}/include/${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
|
2016-05-26 16:45:03 +00:00
|
|
|
Bounds.h
|
2015-08-16 18:53:44 +00:00
|
|
|
CellShape.h
|
2015-08-19 16:01:26 +00:00
|
|
|
CellTraits.h
|
2017-08-24 16:02:18 +00:00
|
|
|
Hash.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
|
|
|
|
RangeId3.h
|
2015-09-17 19:45:35 +00:00
|
|
|
StaticAssert.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
|
|
|
|
VectorAnalysis.h
|
2014-10-07 23:27:31 +00:00
|
|
|
VecTraits.h
|
2015-08-12 23:32:19 +00:00
|
|
|
VecVariable.h
|
2015-07-20 20:29:43 +00:00
|
|
|
UnaryPredicates.h
|
2014-02-10 18:58:41 +00:00
|
|
|
)
|
|
|
|
|
2015-05-27 04:32:10 +00:00
|
|
|
vtkm_pyexpander_generated_file(Math.h)
|
|
|
|
|
2014-02-10 18:58:41 +00:00
|
|
|
vtkm_declare_headers(${headers})
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#first add all the components vtkm that are shared between control and exec
|
|
|
|
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
|
|
|
|
if(VTKm_ENABLE_RENDERING)
|
|
|
|
add_subdirectory(rendering)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(interop)
|
|
|
|
|
2015-07-06 21:44:29 +00:00
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#add the benchmarking folder
|
|
|
|
add_subdirectory(benchmarking)
|
|
|
|
|
2015-10-22 21:18:33 +00:00
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#add the io folder
|
|
|
|
add_subdirectory(io)
|