Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Add version information #7

Open
diegoefe opened this issue Jun 23, 2020 · 0 comments
Open

Add version information #7

diegoefe opened this issue Jun 23, 2020 · 0 comments

Comments

@diegoefe
Copy link

It will be very useful to have something like:

#define ORMLITE_STRINGIFY(x)      #x
#define ORMLITE_XSTRINGIFY(x)    ORMLITE_STRINGIFY(x)

#define ORMLITE_VERSION_MAJOR 1
#define ORMLITE_VERSION_MINOR 2
#define ORMLITE_VERSION_RELEASE 3

#define ORMLITE_VERSION_STRING \
   ORMLITE_XSTRINGIFYORMLITE_VERSION_MAJOR) "." \
   ORMLITE_XSTRINGIFY(ORMLITE_VERSION_MINOR) "." \
   ORMLITE_XSTRINGIFY(ORMLITE_VERSION_REVISION)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant