Currently all my header files are included via the include_directories() method that which returns an inc type.
Is there a way in meson to extract the headers files from it? Preferably into the file type.
I want to use the header files as an input to my formatter.
I know that I can gather the files separately via the files method. That would require more work to maintain.
But I'm hoping that there is an easier, more straightforward way.
foreach header: headerswhere headers has the collection return by include_directories. collected around your subdirs.