Skip to content

Commit

Permalink
Add tags make target
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Oct 17, 2023
1 parent 9b74162 commit 13a9c74
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -75,6 +75,7 @@ scripts/RelWithDebInfo
scripts/astyle.exe
scripts/qgisstyle*
src/core/qgsexpression_texts.cpp
tags
tests/testdata/*.aux.xml
tests/testdata/cache/
tests/testdata/checker360by180.asc.aux.xml
Expand Down
26 changes: 26 additions & 0 deletions CMakeLists.txt
Expand Up @@ -610,6 +610,32 @@ if (ENABLE_TESTS)

endif()

add_custom_target(tags COMMAND
cd ${CMAKE_CURRENT_SOURCE_DIR} && ctags
--c++-kinds=+p
--exclude=build
--exclude=.ci
--exclude=cmake
--exclude=cmake_templates
--exclude=debian
--exclude=doc
--exclude=.docker
--exclude=editors
--exclude=.github
--exclude=i18n
--exclude=images
--exclude=resources
--exclude=rpm
--exclude=scripts
--exclude=Testing
--exclude=tests
--exclude=.tx
--extras=+q
--fields=+iaS
--language-force=C++
--recurse=yes
)

if (WITH_CORE)
# ModelTest
set(ENABLE_MODELTEST FALSE CACHE BOOL "Enable QT ModelTest (not for production)")
Expand Down

0 comments on commit 13a9c74

Please sign in to comment.