version: Add compilation info.

This commit is contained in:
Florian Walch
2014-11-09 13:52:15 +01:00
parent dcccc1a50d
commit 176930fa56
6 changed files with 94 additions and 10 deletions

View File

@@ -22,13 +22,19 @@
#define NVIM_VERSION_PATCH 0
#endif
#ifndef NVIM_VERSION_PRERELEASE
#define NVIM_VERSION_PRERELEASE
#define NVIM_VERSION_PRERELEASE "?"
#endif
#ifndef NVIM_VERSION_BUILD
#define NVIM_VERSION_BUILD
#define NVIM_VERSION_BUILD "?"
#endif
#ifndef NVIM_VERSION_COMMIT
#define NVIM_VERSION_COMMIT
#define NVIM_VERSION_COMMIT "?"
#endif
#ifndef NVIM_VERSION_CFLAGS
#define NVIM_VERSION_CFLAGS "?"
#endif
#ifndef NVIM_VERSION_BUILD_TYPE
#define NVIM_VERSION_BUILD_TYPE "?"
#endif
// for the startup-screen
#define NVIM_VERSION_MEDIUM STR(NVIM_VERSION_MAJOR) "." STR(NVIM_VERSION_MINOR)