-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Support parsing cargo metadata by string(JSON ...) for cmake >= 3.19 #131
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First of all thanks for this PR! I have only skimmed the PR and will have a closer look and test it tomorrow, but I have left some comments already.
905603e
to
d1bb3f9
Compare
I don't think generating CMake code with Also, I merged #130. so it would be great if you could also add the |
Because function can access caller's variables, we should set variable before appending list to avoid using wrong variable.
Done, thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes! I've had time for a more thorough look now and I think it looks fine.
I left some more minor comments.
Also I would prefer if you would rename CORROSION_PARSE_METADATA_BY_CMAKE
to CORROSION_EXPERIMENTAL_PARSER
and add the option to the README.md
under Usage->Options->Advanced explaining what the option does.
I tested the new generator with our project at work and it doesn't seem to break anything for us, so I'm fine with approving this MR. @ogoffart Do you want to do a second review?
@jschwe Done, thanks! |
This commit seems to break the |
Hi @housel, thanks for the report! Could you open an issue describing in a bit more detail what problem you are facing? |
New feature for #70