aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-17 15:40:09 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-30 14:22:25 +0100
commitbf0be0f63e7142675f1376781c128116d12c520d (patch)
treec73b0afff680bd79c191ac751154ef119f6a6258 /runtime
parentc89292fcb7f2ebf06efb7c1d00c28f34c6f68fec (diff)
downloadrneovim-bf0be0f63e7142675f1376781c128116d12c520d.tar.gz
rneovim-bf0be0f63e7142675f1376781c128116d12c520d.tar.bz2
rneovim-bf0be0f63e7142675f1376781c128116d12c520d.zip
build: various improvements
- Use `#pragma once` for `cmake.config/config.h.in` - Remove unused variable `CACHED_GENERATED_DIR` - Reorganize and sort variables - Introduce `STYLUA_DIRS` variable to ensure the `formatlua` and `lintlua-stylua` operates on the same files. - Adjust variable scope to avoid using hacky directory properties. - Add more necessary runtime files as test dependencies
Diffstat (limited to 'runtime')
-rw-r--r--runtime/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
index aa987fca1e..a44713d4ce 100644
--- a/runtime/CMakeLists.txt
+++ b/runtime/CMakeLists.txt
@@ -1,9 +1,5 @@
set(SYN_VIM_GENERATOR ${PROJECT_SOURCE_DIR}/src/nvim/generators/gen_vimvim.lua)
-set(GENERATED_RUNTIME_DIR ${PROJECT_BINARY_DIR}/runtime)
-set(GENERATED_SYN_VIM ${GENERATED_RUNTIME_DIR}/syntax/vim/generated.vim)
-set(GENERATED_HELP_TAGS ${GENERATED_RUNTIME_DIR}/doc/tags)
set(GENERATED_PACKAGE_DIR ${GENERATED_RUNTIME_DIR}/pack/dist/opt)
-set(FUNCS_DATA ${PROJECT_BINARY_DIR}/funcs_data.mpack)
file(MAKE_DIRECTORY ${GENERATED_RUNTIME_DIR}/syntax/vim)