CMakeLists.txt 2.97 KB
Newer Older
1 2 3 4 5 6 7 8
##============================================================================
##  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.
##
9
##  Copyright 2014 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
10
##  Copyright 2014 UT-Battelle, LLC.
11
##  Copyright 2014 Los Alamos National Security.
12
##
13
##  Under the terms of Contract DE-NA0003525 with NTESS,
14 15 16 17 18 19 20
##  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.
##============================================================================

Kenneth Moreland's avatar
Kenneth Moreland committed
21 22 23
# 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
24
  ${VTKm_BINARY_INCLUDE_DIR}/${kit_dir}/Version.h
Kenneth Moreland's avatar
Kenneth Moreland committed
25 26
  @ONLY)
vtkm_install_headers(
27
  vtkm ${VTKm_BINARY_INCLUDE_DIR}/${kit_dir}/Version.h)
Kenneth Moreland's avatar
Kenneth Moreland committed
28

29
set(headers
Kenneth Moreland's avatar
Kenneth Moreland committed
30
  Assert.h
31
  BaseComponent.h
32
  BinaryPredicates.h
33
  BinaryOperators.h
34
  Bitset.h
Kenneth Moreland's avatar
Kenneth Moreland committed
35
  Bounds.h
36
  CellShape.h
Kenneth Moreland's avatar
Kenneth Moreland committed
37
  CellTraits.h
Sujin Philip's avatar
Sujin Philip committed
38
  Flags.h
39
  Geometry.h
Dave Pugmire's avatar
Dave Pugmire committed
40
  GhostCell.h
Kenneth Moreland's avatar
Kenneth Moreland committed
41
  Hash.h
42
  ImplicitFunction.h
43
  ListTag.h
44
  Math.h
Kenneth Moreland's avatar
Kenneth Moreland committed
45
  Matrix.h
46
  NewtonsMethod.h
47
  Pair.h
Kenneth Moreland's avatar
Kenneth Moreland committed
48
  Range.h
49 50
  RangeId.h
  RangeId3.h
51
  StaticAssert.h
52
  Swap.h
53
  TopologyElementTag.h
54
  Transform3D.h
55
  TypeListTag.h
56 57
  Types.h
  TypeTraits.h
58
  VecAxisAlignedPointCoordinates.h
59 60
  VecFromPortal.h
  VecFromPortalPermute.h
61
  VecFromVirtPortal.h
62
  VectorAnalysis.h
63
  VecTraits.h
Kenneth Moreland's avatar
Kenneth Moreland committed
64
  VecVariable.h
65
  VirtualObjectBase.h
66
  UnaryPredicates.h
67 68 69 70 71
)

set(template_sources
  Geometry.hxx
)
72

73 74
vtkm_pyexpander_generated_file(Math.h)

75 76 77 78 79 80
vtkm_declare_headers(
  ${headers}
  ${template_sources}
  EXCLUDE_FROM_TESTING
    ${template_sources}
)
81 82 83

#-----------------------------------------------------------------------------
#first add all the components vtkm that are shared between control and exec
84
add_subdirectory(thirdparty/diy)
85
add_subdirectory(thirdparty/taotuple)
86 87 88
if(VTKm_ENABLE_LOGGING)
  add_subdirectory(thirdparty/loguru)
endif()
89 90 91 92 93
add_subdirectory(testing)
add_subdirectory(internal)

#-----------------------------------------------------------------------------
#add the control and exec folders
94
add_subdirectory(cont)
95
add_subdirectory(exec)
96 97 98 99

#-----------------------------------------------------------------------------
#add the worklet folder
add_subdirectory(worklet)
Will Usher's avatar
Will Usher committed
100

101 102 103 104
#-----------------------------------------------------------------------------
#add the filter folder
add_subdirectory(filter)

105 106
#-----------------------------------------------------------------------------
# Build rendering
107
add_subdirectory(rendering)
108

109
add_subdirectory(interop)
110

111 112 113
#-----------------------------------------------------------------------------
#add the io folder
add_subdirectory(io)