Skip to content
Snippets Groups Projects
Commit 45c24109 authored by Robert Maynard's avatar Robert Maynard
Browse files

Add changelog for VTKmCheckSourceInInstall

parent 610bfc21
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
##============================================================================
## This CMake script checks to make sure that each source file explicitly
## listed in the CMakeLists.txt is installed.
## inside a project is installed.
## To run this script, execute CMake as follows:
##
## cmake -DMODE=[INSTALL|VERIFY|CLEANUP]
......@@ -28,7 +28,7 @@
# -DVTKm_INSTALL_INCLUDE_DIR=<VTKm_INSTALL_INCLUDE_DIR>
# -DVTKm_ENABLE_RENDERING=<VTKm_ENABLE_RENDERING>
# -DVTKm_ENABLE_LOGGING=<VTKm_ENABLE_LOGGING>
# -P <VTKm_SOURCE_DIR>/CMake/VTKMCheckSourceInBuild.cmake
# -P <VTKm_SOURCE_DIR>/CMake/VTKMCheckSourceInInstall.cmake
##
if (NOT DEFINED MODE)
......@@ -126,13 +126,13 @@ function(do_verify root_dir prefix)
)
set(file_exceptions
cont/cuda/internal/testing/Testing.h
cont/ColorTablePrivate.hxx
)
#by default every header in a testing directory doesn't need to be installed
set(directory_exceptions ".*/testing" )
# These exceptions should be based on the status of the associated
# cmake option
set(directory_exceptions )
if(NOT VTKm_ENABLE_RENDERING)
list(APPEND directory_exceptions rendering)
endif()
......
# VTK-m now can verify that it installs itself correctly
It was a fairly common occurrence of VTK-m to have a broken install
tree as it had no easy way to verify that all headers would be installed.
Now VTK-m offers a testing infrastructure that creates a temporary installed
version and is able to run tests with that VTK-m installed version. Currently
the only test is to verify that each header listed in VTK-m is also installed,
but this can expand in the future to include compilation tests.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment