2020-10-11 00:33:23 +00:00
|
|
|
// Populated by CMake, and installed to the host system
|
2020-10-11 00:53:45 +00:00
|
|
|
#ifndef NOTCURSES_VERSION_HEADER
|
|
|
|
#define NOTCURSES_VERSION_HEADER
|
|
|
|
|
2020-11-24 08:49:50 +00:00
|
|
|
#define NOTCURSES_VERNUM_MAJOR @notcurses_VERSION_MAJOR@
|
|
|
|
#define NOTCURSES_VERNUM_MINOR @notcurses_VERSION_MINOR@
|
|
|
|
#define NOTCURSES_VERNUM_PATCH @notcurses_VERSION_PATCH@
|
|
|
|
#define NOTCURSES_VERNUM_TWEAK @notcurses_VERSION_TWEAK@
|
|
|
|
|
2020-11-27 21:13:44 +00:00
|
|
|
#define NOTCURSES_VERSION_COMPARABLE(major, minor, patch) \
|
|
|
|
(((major) << 16u) + ((minor) << 8u) + (patch))
|
|
|
|
|
|
|
|
#define NOTCURSES_VERNUM_ORDERED NOTCURSES_VERSION_COMPARABLE( \
|
|
|
|
NOTCURSES_VERNUM_MAJOR, NOTCURSES_VERNUM_MINOR, NOTCURSES_VERNUM_PATCH)
|
2020-11-24 08:49:50 +00:00
|
|
|
|
2020-10-11 00:33:23 +00:00
|
|
|
#define NOTCURSES_VERSION_MAJOR "@notcurses_VERSION_MAJOR@"
|
|
|
|
#define NOTCURSES_VERSION_MINOR "@notcurses_VERSION_MINOR@"
|
|
|
|
#define NOTCURSES_VERSION_PATCH "@notcurses_VERSION_PATCH@"
|
|
|
|
#define NOTCURSES_VERSION_TWEAK "@notcurses_VERSION_TWEAK@"
|
2020-10-11 00:53:45 +00:00
|
|
|
|
|
|
|
#endif
|