Commit 643aa039 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell

Rename vtkModule-Classes.cmake to vtkModule-Headers.cmake

After discussion on the mailing list we decided that this better fits
the purpose of the file which is intended to export a list of all
headers in each module along with their properties.

Change-Id: Icd0dd5938427621dfe6a871ddaa94db8f063081f
parent a9b37f20
......@@ -68,12 +68,13 @@ endmacro()
# <module>_CLASS_<class>_WRAP_SPECIAL
macro(vtk_module_classes_load mod)
if(NOT ${mod}_CLASSES_LOADED)
include("${VTK_MODULES_DIR}/${mod}-Classes.cmake" OPTIONAL RESULT_VARIABLE _found)
include("${VTK_MODULES_DIR}/${mod}-Headers.cmake"
OPTIONAL RESULT_VARIABLE _found)
if (NOT _found)
# When building applications outside VTK, they can provide extra module
# config files by simply adding the corresponding locations to the
# CMAKE_MODULE_PATH
include(${mod}-Classes OPTIONAL)
include(${mod}-Headers OPTIONAL)
endif()
if(NOT ${mod}_CLASSES_LOADED)
message(FATAL_ERROR "No such module: \"${mod}\"")
......
......@@ -229,8 +229,8 @@ function(vtk_module_export sources)
endif()
endforeach()
# Configure wrapping information for external wrapping of classes.
configure_file(${_VTKModuleMacros_DIR}/vtkModuleClasses.cmake.in
${VTK_MODULES_DIR}/${vtk-module}-Classes.cmake @ONLY)
configure_file(${_VTKModuleMacros_DIR}/vtkModuleHeaders.cmake.in
${VTK_MODULES_DIR}/${vtk-module}-Headers.cmake @ONLY)
endfunction()
macro(vtk_module_test)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment