3 ms·
Recently I've been using clang's parser Python bindings to parse c++ headers and generate code that reflect object's members and integrate that into cmake. It
by halayli 9y ago
Recently I've been using clang's parser Python bindings to parse c++ headers and generate code that reflect object's members and integrate that into cmake.
It beats the purpose if whatever you're going to come up with requires you to specify every field and maintenance becomes tricky.