version info at compile
phdpsx opened this issue · 4 comments
phdpsx commented
Is there a way to get redis++ version at the compile time (define)? Didn't find anything in headers...
sewenew commented
You can get the version information from CMakeLists.txt.
Regards
phdpsx commented
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.
sewenew commented
I'll add a version file in the next release. Thanks for your suggestion!
Regards
sewenew commented
Version info has been added to src/sw/redis++/version.h
file.
Regards