Add a parser for CMakeLists.txt files, to extract public headers


Give the name of the module on the command line, supply the file's
contents on stdin (so we can git show an old version without checking
it out) and it'll reply on stdout with the headers it found. Soon to
replace the sync.profile-based sources of API-defining headers.

Task-number: QTQAINFRA-4763
Change-Id: Ic6d4aa2b4c0160a0e995a35765fecc6e506b0403
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
commita13b800418779f31375b50eb762c4d2f1aada99a
parent3a464d47e81d9ca9ae7f7c6f13f542ceedfc6e46
authorEdward Welbourne <edward.welbourne@qt.io>
committerEdward Welbourne <edward.welbourne@qt.io>
commit timeWed, 5 Jul 2023 13:04:43 +0200