4c7fe13a98
Some testing directories have side effects such as installing headers or compiling code that ultimately doesn't end up getting used.
36 lines
891 B
CMake
36 lines
891 B
CMake
##============================================================================
|
|
## 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.
|
|
##============================================================================
|
|
|
|
set(headers
|
|
Oscillator.h
|
|
Source.h
|
|
Tangle.h
|
|
Wavelet.h
|
|
)
|
|
|
|
set(device_sources
|
|
Oscillator.cxx
|
|
Source.cxx
|
|
Tangle.cxx
|
|
Wavelet.cxx
|
|
)
|
|
|
|
vtkm_library(NAME vtkm_source
|
|
DEVICE_SOURCES ${device_sources}
|
|
HEADERS ${headers}
|
|
)
|
|
|
|
target_link_libraries(vtkm_source PUBLIC vtkm_cont)
|
|
|
|
#-----------------------------------------------------------------------------
|
|
if (VTKm_ENABLE_TESTING)
|
|
add_subdirectory(testing)
|
|
endif ()
|