2019-04-15 23:24:21 +00:00
|
|
|
##============================================================================
|
2015-09-04 13:37:06 +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.
|
2019-04-15 23:24:21 +00:00
|
|
|
##============================================================================
|
|
|
|
|
2016-08-22 17:18:36 +00:00
|
|
|
#add the directory that contains the VTK-m config file to the cmake
|
|
|
|
#path so that our examples can find VTK-m
|
2019-04-03 16:32:42 +00:00
|
|
|
|
2019-06-24 16:59:53 +00:00
|
|
|
if(VTKm_ENABLE_EXAMPLES)
|
|
|
|
set(CMAKE_PREFIX_PATH ${VTKm_BINARY_DIR}/${VTKm_INSTALL_CONFIG_DIR})
|
|
|
|
add_subdirectory(clipping)
|
|
|
|
add_subdirectory(contour_tree)
|
|
|
|
add_subdirectory(contour_tree_augmented)
|
2020-06-12 17:50:01 +00:00
|
|
|
add_subdirectory(contour_tree_distributed)
|
2019-06-24 16:59:53 +00:00
|
|
|
add_subdirectory(cosmotools)
|
|
|
|
add_subdirectory(demo)
|
2020-07-15 20:41:32 +00:00
|
|
|
add_subdirectory(game_of_life)
|
2019-07-31 20:22:26 +00:00
|
|
|
add_subdirectory(hello_worklet)
|
2019-06-24 16:59:53 +00:00
|
|
|
add_subdirectory(histogram)
|
2020-07-15 20:41:32 +00:00
|
|
|
add_subdirectory(ising)
|
2019-06-24 16:59:53 +00:00
|
|
|
add_subdirectory(lagrangian)
|
2021-01-16 20:13:33 +00:00
|
|
|
add_subdirectory(logistic_map)
|
2019-01-14 23:27:19 +00:00
|
|
|
add_subdirectory(mesh_quality)
|
2019-06-24 16:59:53 +00:00
|
|
|
add_subdirectory(multi_backend)
|
|
|
|
add_subdirectory(oscillator)
|
|
|
|
add_subdirectory(particle_advection)
|
2020-08-13 13:53:57 +00:00
|
|
|
add_subdirectory(streamline_mpi)
|
2019-06-27 20:25:27 +00:00
|
|
|
add_subdirectory(polyline_archimedean_helix)
|
2019-06-24 16:59:53 +00:00
|
|
|
add_subdirectory(redistribute_points)
|
|
|
|
add_subdirectory(temporal_advection)
|
|
|
|
add_subdirectory(tetrahedra)
|
|
|
|
endif()
|
2019-04-03 16:32:42 +00:00
|
|
|
|
|
|
|
if (VTKm_ENABLE_TESTING)
|
|
|
|
# These need to be fast to build as they will
|
|
|
|
# be built each time we run the test
|
2019-08-01 14:39:45 +00:00
|
|
|
vtkm_test_against_install(demo)
|
2019-04-03 16:33:53 +00:00
|
|
|
vtkm_test_against_install(histogram)
|
2019-04-03 16:32:42 +00:00
|
|
|
endif()
|