2019-04-15 23:24:21 +00:00
|
|
|
##============================================================================
|
2016-03-30 13:32:54 +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
|
|
|
##============================================================================
|
2020-04-10 16:04:04 +00:00
|
|
|
cmake_minimum_required(VERSION 3.12...3.15 FATAL_ERROR)
|
2017-10-05 14:28:44 +00:00
|
|
|
project(VTKmDemo CXX)
|
2016-08-22 17:18:36 +00:00
|
|
|
|
|
|
|
#Find the VTK-m package
|
2017-10-05 14:28:44 +00:00
|
|
|
find_package(VTKm REQUIRED QUIET)
|
2016-08-22 17:18:36 +00:00
|
|
|
|
2017-10-05 14:28:44 +00:00
|
|
|
if(TARGET vtkm_rendering)
|
2019-07-08 16:35:15 +00:00
|
|
|
add_executable(Demo Demo.cxx)
|
2019-09-09 13:39:23 +00:00
|
|
|
target_link_libraries(Demo PRIVATE vtkm_filter vtkm_rendering)
|
2019-07-08 21:10:50 +00:00
|
|
|
vtkm_add_target_information(Demo
|
2019-09-09 16:31:01 +00:00
|
|
|
DROP_UNUSED_SYMBOLS MODIFY_CUDA_FLAGS
|
2019-07-08 21:10:50 +00:00
|
|
|
DEVICE_SOURCES Demo.cxx)
|
2016-04-08 00:06:05 +00:00
|
|
|
endif()
|