mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
NEW BUILD SYSTEM!
This is a MVP implementation which supports building the "nvim" binary,
including cross-compilation for some targets.
As an example, you can build a aarch64-macos binary from
an x86-64-linux-gnu host, or vice versa
Add CI target for build.zig currently for functionaltests on linux
x86_64 only
Follow up items:
- praxis for version and dependency bumping
- windows 💀
- full integration of libintl and gettext (or a desicion not to)
- update help and API metadata files
- installation into a $PREFIX
- more tests and linters
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
|