mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
Introduce nvim namespace: Fix build process.
- Leave src as include dir (for includes to recognize 'nvim/' prefix). - Change subdirectory from src to src/nvim. - Fix msgpack generation. - Fix some other paths to new locations.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
include(CheckLibraryExists)
|
||||
|
||||
set(GENERATED_DIR ${PROJECT_BINARY_DIR}/src/auto)
|
||||
set(GENERATED_DIR ${PROJECT_BINARY_DIR}/src/nvim/auto)
|
||||
set(DISPATCH_GENERATOR ${PROJECT_SOURCE_DIR}/scripts/msgpack-gen.lua)
|
||||
file(GLOB API_HEADERS api/*.h)
|
||||
set(MSGPACK_RPC_HEADER ${PROJECT_SOURCE_DIR}/src/os/msgpack_rpc.h)
|
||||
set(MSGPACK_RPC_HEADER ${PROJECT_SOURCE_DIR}/src/nvim/os/msgpack_rpc.h)
|
||||
set(MSGPACK_DISPATCH ${GENERATED_DIR}/msgpack_dispatch.c)
|
||||
|
||||
# Remove helpers.h from API_HEADERS since it doesn't contain public API
|
||||
|
Reference in New Issue
Block a user