Conversation
d84d1f2 to
e082a42
Compare
e082a42 to
3ba2a50
Compare
jplehr
left a comment
There was a problem hiding this comment.
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