mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
build: add EXCLUDE option to add_glob_target
EXCLUDE filters out all elements containing regex, meaning it works on both files and directories. Also rename add_glob_targets to add_glob_target since only one target is being created.
This commit is contained in:
@@ -772,7 +772,7 @@ add_custom_target(uncrustify-version
|
||||
-D CONFIG_FILE=${PROJECT_SOURCE_DIR}/src/uncrustify.cfg
|
||||
-P ${PROJECT_SOURCE_DIR}/cmake/CheckUncrustifyVersion.cmake)
|
||||
|
||||
add_glob_targets(
|
||||
add_glob_target(
|
||||
TARGET lintuncrustify
|
||||
COMMAND ${UNCRUSTIFY_PRG}
|
||||
FLAGS -c "${PROJECT_SOURCE_DIR}/src/uncrustify.cfg" -q --check
|
||||
|
Reference in New Issue
Block a user