aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-11-07 09:52:20 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-11-18 18:38:45 +0100
commitbec2ebebdacd494117ce41b31e208577ddeef510 (patch)
tree6f76f0d5e25c4c94f5b4af081a39601ede5f496f /CMakeLists.txt
parentdf87266b23b32b96d1e3d4d26eb721a9dd63c2a4 (diff)
downloadrneovim-bec2ebebdacd494117ce41b31e208577ddeef510.tar.gz
rneovim-bec2ebebdacd494117ce41b31e208577ddeef510.tar.bz2
rneovim-bec2ebebdacd494117ce41b31e208577ddeef510.zip
build: various cmake fixes
- Correct MSVC warning suppression. The C4003 warning is issued during file generation and not for the actual source files. - Remove non-existent "scripts/pvscheck.sh" file from `lintsh` target. - Remove spaces inside for loops with uncrustify. - Point dependencies to use a git tag rather than releases, as releases might have changes that deviate from the actual source code. - Automatically update uncrustify config before formatting or linting.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b57e55f938..bdf2b8bb2f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -247,8 +247,6 @@ add_glob_target(
FLAGS -x -a
GLOB_DIRS scripts
GLOB_PAT *.sh
- EXCLUDE
- scripts/pvscheck.sh
TOUCH_STRATEGY SINGLE)
add_custom_target(lintcommit
@@ -294,7 +292,7 @@ ExternalProject_Add(uncrustify
CMAKE_CACHE_ARGS ${DEPS_CMAKE_CACHE_ARGS}
EXCLUDE_FROM_ALL TRUE)
-option(USE_BUNDLED_BUSTED "Use bundled luarocks" ON)
+option(USE_BUNDLED_BUSTED "Use bundled busted" ON)
if(USE_BUNDLED_BUSTED)
ExternalProject_Add(lua-dev-deps
URL https://github.com/neovim/deps/raw/5a1f71cceb24990a0b15fd9a472a5f549f019248/opt/lua-dev-deps.tar.gz