summaryrefslogtreecommitdiff
path: root/test cases/common/22 object extraction/header.h
AgeCommit message (Collapse)Author
2021-06-22extract_objects: skip headers when building custom_target command linePaolo Bonzini
As seen in the testcase, passing objects to custom_target does not work if headers are passed extract_objects(), or if extract_all_objects() is used and the sources include any header files. To fix this, use the code that already exists for unity build to filter out the nonexistent ".h.o" files. This already gives for free the handling of genlist, which was mentioned in a TODO comment.