-
Notifications
You must be signed in to change notification settings - Fork 526
Diagnostics: Parsed headers are printed as a whole #1743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think the parser output is already output one-by-one, see https://github.com/mono/CppSharp/blob/main/src/Generator/Driver.cs#L110C14-L110C26. Or maybe I am not understanding which output you mean. |
Suppose parsing 2 files: test1.h, test2.h.
And |
I see, I think that is because its using the unity build mode, which parses all files together at once. Try changing the |
I tried setting |
That's how it was designed from the start though. Only then did we add the unity build mode because it can be significantly faster, with the only drawback getting the diagnostics for everything at once. Based on the output you shown earlier, unity build mode is getting activated, else you would get each parsed file output one at a time. Cannot say why that is the case, but that's the reason. |
Need to investigate more, but maybe when I get the project built from source because for now I am having difficulty running |
Ok please open an issue about issue with |
In the parsing phase, all parsed header paths are printed at the end.
Is there a way to make it print each one by one so we can visualize the progress in the console?
The text was updated successfully, but these errors were encountered: