mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
de5cf09cf9
Then we can just load metadata in C as a single msgpack blob. Which also can be used directly as binarly data, instead of first unpacking all the functions and ui_events metadata to immediately pack it again, which was a bit of a silly walk (and one extra usecase of `msgpack_rpc_from_object` which will get yak shaved in the next PR)
18 lines
507 B
C
18 lines
507 B
C
#ifndef AUTO_VERSIONDEF_H
|
|
#define AUTO_VERSIONDEF_H
|
|
|
|
#define NVIM_VERSION_MAJOR @NVIM_VERSION_MAJOR@
|
|
#define NVIM_VERSION_MINOR @NVIM_VERSION_MINOR@
|
|
#define NVIM_VERSION_PATCH @NVIM_VERSION_PATCH@
|
|
#define NVIM_VERSION_PRERELEASE "@NVIM_VERSION_PRERELEASE@"
|
|
|
|
#cmakedefine NVIM_VERSION_MEDIUM "@NVIM_VERSION_MEDIUM@"
|
|
#ifndef NVIM_VERSION_MEDIUM
|
|
# include "auto/versiondef_git.h"
|
|
#endif
|
|
|
|
#define NVIM_VERSION_CFLAGS "${VERSION_STRING}"
|
|
#define NVIM_VERSION_BUILD_TYPE "$<CONFIG>"
|
|
|
|
#endif // AUTO_VERSIONDEF_H
|