2014-02-10 18:57:46 +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:57:46 +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.
|
|
|
|
##============================================================================
|
|
|
|
|
2016-06-02 16:04:08 +00:00
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
# Build the configure file.
|
|
|
|
# need to set numerous VTKm cmake properties to the naming convention
|
|
|
|
# that we exepect for our C++ defines.
|
|
|
|
|
|
|
|
set(VTKM_USE_DOUBLE_PRECISION ${VTKm_USE_DOUBLE_PRECISION})
|
|
|
|
set(VTKM_USE_64BIT_IDS ${VTKm_USE_64BIT_IDS})
|
|
|
|
|
|
|
|
set(VTKM_ENABLE_CUDA ${VTKm_ENABLE_CUDA})
|
|
|
|
set(VTKM_ENABLE_TBB ${VTKm_ENABLE_TBB})
|
|
|
|
|
|
|
|
set(VTKM_ENABLE_OPENGL_INTEROP ${VTKm_ENABLE_OPENGL_INTEROP})
|
|
|
|
|
2016-06-16 22:25:41 +00:00
|
|
|
vtkm_get_kit_name(kit_name kit_dir)
|
2016-06-02 16:04:08 +00:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Configure.h.in
|
2016-06-16 22:25:41 +00:00
|
|
|
${CMAKE_BINARY_DIR}/include/${kit_dir}/Configure.h
|
2016-06-02 16:04:08 +00:00
|
|
|
@ONLY)
|
|
|
|
vtkm_install_headers(
|
2016-06-16 22:25:41 +00:00
|
|
|
vtkm/internal ${CMAKE_BINARY_DIR}/include/${kit_dir}/Configure.h)
|
2016-06-02 16:04:08 +00:00
|
|
|
|
|
|
|
unset(VTKM_ENABLE_OPENGL_INTEROP)
|
|
|
|
|
|
|
|
unset(VTKM_ENABLE_TBB)
|
|
|
|
unset(VTKM_ENABLE_CUDA)
|
|
|
|
|
|
|
|
unset(VTKM_USE_64BIT_IDS)
|
|
|
|
unset(VTKM_USE_DOUBLE_PRECISION)
|
|
|
|
|
|
|
|
|
2014-02-10 18:57:46 +00:00
|
|
|
set(headers
|
2015-08-17 17:15:03 +00:00
|
|
|
ArrayPortalUniformPointCoordinates.h
|
2016-10-28 03:14:29 +00:00
|
|
|
ArrayPortalValueReference.h
|
2016-06-02 16:04:08 +00:00
|
|
|
Assume.h
|
2016-11-03 12:03:51 +00:00
|
|
|
brigand.hpp
|
2014-02-10 18:57:46 +00:00
|
|
|
ConfigureFor32.h
|
|
|
|
ConfigureFor64.h
|
2015-07-31 21:48:06 +00:00
|
|
|
ConnectivityStructuredInternals.h
|
2014-02-10 18:57:46 +00:00
|
|
|
ExportMacros.h
|
2014-04-10 19:35:06 +00:00
|
|
|
FunctionInterface.h
|
2014-06-25 22:03:44 +00:00
|
|
|
FunctionInterfaceDetailPost.h
|
|
|
|
FunctionInterfaceDetailPre.h
|
2015-01-14 01:26:13 +00:00
|
|
|
IndexTag.h
|
2016-08-01 16:37:55 +00:00
|
|
|
IntegerSequence.h
|
2014-10-15 19:52:27 +00:00
|
|
|
Invocation.h
|
2014-10-08 18:53:01 +00:00
|
|
|
ListTagDetail.h
|
2016-11-23 21:14:56 +00:00
|
|
|
Windows.h
|
2014-02-10 18:57:46 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
vtkm_declare_headers(${headers})
|
|
|
|
|
2014-06-27 00:26:45 +00:00
|
|
|
vtkm_pyexpander_generated_file(FunctionInterfaceDetailPre.h)
|
|
|
|
vtkm_pyexpander_generated_file(FunctionInterfaceDetailPost.h)
|
|
|
|
|
2014-02-10 18:57:46 +00:00
|
|
|
add_subdirectory(testing)
|
|
|
|
|