diff options
author | dundargoc <gocdundar@gmail.com> | 2023-12-17 15:40:09 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-12-30 14:22:25 +0100 |
commit | bf0be0f63e7142675f1376781c128116d12c520d (patch) | |
tree | c73b0afff680bd79c191ac751154ef119f6a6258 /runtime | |
parent | c89292fcb7f2ebf06efb7c1d00c28f34c6f68fec (diff) | |
download | rneovim-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.txt | 4 |
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) |