Currently the parse deals with the following
- Macros (starting with
-D)
- include directories (starting with
-I)
- library paths (starting with
-L)
- libraries (starting with
-l)
And any other flags is ignored by parse and the only way to get them is to parse more generic output of either pkgconfig.libs or pkgconfig.cflags. But those flags, which can include -fopenmp or -pthread, would be useful to populate extra_link_args (and/or possibly extra_compile_args as well).
Could we have parse output these as well?