I was attempting to use the rewriter to add source files to a static library target declared in a subdirectory meson.build file.
I tried using the -s option to specify the subdirectory, but a Python Error is thrown saying it cannot find the file. I did notice the file path built up by meson looks incorrect as the source directory provided appears twice in the path.
If I change to the subdirectory and use the rewriter without the -s option, the rewrite is successful.
I'm not sure if this is a bug or if I'm not clear on how the rewriter is intended to operate.
Any help understanding if the above is a bug or clarification on how to use the rewriter would be appreciated.
Thank you,
Andrew