Skip to content
Snippets Groups Projects
Commit 570e0510 authored by David Gobbi's avatar David Gobbi
Browse files

Exclude private headers from the hierarchy files.

The hierarchy provide information about the module's interface, so
private headers do not belong here.
parent e83f156e
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,12 @@ macro(VTK_WRAP_HIERARCHY TARGET OUTPUT_DIR SOURCES)
# assume header file is in the same directory
set(TMP_INPUT ${TMP_FILEPATH}/${TMP_FILENAME}.h)
# default to including all available headers in the hierarchy files
# include all non-private headers in the hierarchy files
set(TMP_EXCLUDE_FROM_HIERARCHY OFF)
get_source_file_property(TMP_SKIP ${FILE} SKIP_HEADER_INSTALL)
if(TMP_SKIP)
set(TMP_EXCLUDE_FROM_HIERARCHY ON)
endif()
# ensure that header exists (assume it exists if it is marked as wrapped)
if(TMP_WRAP_EXCLUDE)
......
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