[Tarantool-patches] [PATCH 01/11] build: add more ignore paths for tags target
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Sat Nov 21 02:55:10 MSK 2020
Thanks for the patch!
On 12.11.2020 20:51, Cyrill Gorcunov wrote:
> Our .gitignore has been extended recently lets
> add more paths to skip when building the tags
> target.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
> ---
> CMakeLists.txt | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index fa6818f8e..84f77dc2b 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -150,6 +150,12 @@ check_function_exists(getprogname HAVE_GETPROGNAME)
> list(APPEND tagsExclude "--exclude=.git/*")
> list(APPEND tagsExclude "--exclude=.pc/*")
> list(APPEND tagsExclude "--exclude=patches/*")
> +list(APPEND tagsExclude "--exclude=.git-ignore/*")
What is this? I don't see it locally. So it is not generated, correct?
The same for 'coverity/', 'coverage/', '.idea' - I don't see then appearing
when I compile.
> +list(APPEND tagsExclude "--exclude=coverity/*")
> +list(APPEND tagsExclude "--exclude=coverage/*")
> +list(APPEND tagsExclude "--exclude=./build/*")
> +list(APPEND tagsExclude "--exclude=.idea/*")
> +list(APPEND tagsExclude "--exclude=src/module.h")
> add_custom_target(tags COMMAND ${CTAGS} -R ${tagsExclude} -f tags
> WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
> add_custom_target(ctags DEPENDS tags)
More information about the Tarantool-patches
mailing list