mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
3711a0387a
There's no "rule" or bad practice or whatever that says we cannot generate c files. it is is just that we have ~20 generated headers and ~2 generated sources and there is nothing in these two generated source files which sets them aparts. Lua bindings are not different from rpc bindings, and pathdef is not different from versiondef. So to simplify build logic and ease the future port to build.zig, streamline the build to only have generated headers, no direct generated .c files. Also "nlua_add_api_functions" had its prototype duplicated twice which defeated the point of having mandatory prototypes (one source of truth).
4 lines
162 B
C
4 lines
162 B
C
char *default_vim_dir = "${CMAKE_INSTALL_FULL_DATAROOTDIR}/nvim";
|
|
char *default_vimruntime_dir = "";
|
|
char *default_lib_dir = "${CMAKE_INSTALL_FULL_LIBDIR}/nvim";
|