Skip to content
Snippets Groups Projects
Commit 0474c529 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Extend list of ignored subdirs for simox_generate_subdir_headers

parent 72727453
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,13 @@ macro(_simox_generate_subdir_headers_impl dir prefix_to_remove out_headers)
file(GLOB headers ${subdir}/*.h)
list(LENGTH headers n)
string(REGEX REPLACE ".*/" "" subdir_name "${subdir}")
if(NOT ${n} EQUAL 0 AND NOT "${subdir_name}" STREQUAL "detail")
if(
NOT ${n} EQUAL 0 AND
NOT "${subdir_name}" STREQUAL "detail" AND
NOT "${subdir_name}" STREQUAL "_detail" AND
NOT "${subdir_name}" STREQUAL "internal" AND
NOT "${subdir_name}" STREQUAL "_internal"
)
set(subdir_header_abs "${subdir}.h")
string(REPLACE "${prefix_to_remove}" "" subdir_header "${subdir_header_abs}")
list(APPEND ${out_headers} ${subdir_header})
......
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