Simple C++ reflection with CMake

Started by
1 comment, last by Bregma 6 years, 7 months ago

Simple C++ reflection with CMake - for engines of all sizes!

A friend wrote a blog post about how to add reflection to C++ codebases without heavy template metaprogramming or external tools such as LibClang — you can check it out here: http://onqtam.com/programming/2017-09-02-simple-cpp-reflection-with-cmake/

It's only when you look at ants with a magnifying glass on a sunny day, that you realise just how often they burst into flames.

Advertisement

Looks more like a preprocessor-based serialization tool that's very tightly integrated with a particular build tool.  Does about maybe 10% of what Qt does, only without the flexibility and 20 years of hard usage in the unforgiving wild.

I wouldn't really call it reflection though.

If he's happy with it and lets him write good games, then great.  Keep it up.

Stephen M. Webb
Professional Free Software Developer

This topic is closed to new replies.

Advertisement