-
Notifications
You must be signed in to change notification settings - Fork 10
Add metacg-config tool #83
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
Add metacg-config tool #83
Conversation
d84d1f2 to
e082a42
Compare
e082a42 to
3ba2a50
Compare
jplehr
left a comment
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.
I think this should also go into the existing tools folder instead.
My rationale was that it is not a "tool" like the other existing tools, as it does not use the graph lib in any way. |
|
Maybe a |
Understood. I mostly want to prevent that we start littering the top-level with stuff for everything that is "not quite the same" as to what is already in tree. Do we have other things that are planned to come into MetaCG that are mostly utils? |
We just had a brief discussion about this with @TimHeldmann and @pearzt. The consensus was that:
|
What about the |
I guess I considered |
I personally would treat both of those tools as utils. |
fb7f6e1 to
15d02cf
Compare
This patch adds
metacg-config, a lightweight tool inspired byscorep-configthat can be used to print relevant information about the package.As a start, the options
--version,--revisionand--prefixare supported.The main reason I added this was to make integration of compiler passes (e.g. from cgpatch and later CaGe) easier for the user.
For example, to compile with cgpatch, one could use:
clang++ $(metacg-config --cgpatch-cxxflags) input.cpp