// Populated by CMake, and installed to the host system
#ifndef NOTCURSES_VERSION_HEADER
#define NOTCURSES_VERSION_HEADER

#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@

#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)

#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@"

#endif
