sewenew/redis-plus-plus

version info at compile

phdpsx opened this issue · 4 comments

Is there a way to get redis++ version at the compile time (define)? Didn't find anything in headers...

You can get the version information from CMakeLists.txt.

Regards

I did notice it in CMake files.
I'm interested in compile/run time version, after library install when I only have lib(s) and headers. I need it to track versions between different binaries we make.

I'll add a version file in the next release. Thanks for your suggestion!

Regards

Version info has been added to src/sw/redis++/version.h file.

Regards