Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
set(metadata "#ifndef ${SUBDIR}_META_H\n#define ${SUBDIR}_META_H\n\n")
foreach(pubheader ${PUBLIC_LIST})
get_filename_component(pubname ${pubheader} NAME)
- set(metadata "${metadata}#include <${SUBDIR}/${pubname}>\n")
+ # qtest_gui.h is exception because it requires explicit gui component linkage
+ if(NOT "${pubname}" STREQUAL "qtest_gui.h")
+ set(metadata "${metadata}#include <${SUBDIR}/${pubname}>\n")
+ endif()
endforeach()
set(metadata "${metadata}\n#endif\n")
katie_write_file("${metaout}" "${metadata}")