Skip to content

Commit 73f4962

Browse files
committed
ctags: exclude non-source dirs
1 parent 9c2f176 commit 73f4962

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ if(MeshFields_USE_CTAGS)
4040
#from: https://stackoverflow.com/a/9842046
4141
set_source_files_properties(tags PROPERTIES GENERATED true)
4242
add_custom_target(tags
43-
COMMAND ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .
43+
COMMAND ctags -R --c++-kinds=+p --fields=+iaS --extra=+q
44+
--exclude=docs --exclude=cmake --exclude=.git
45+
--exclude=.github .
4446
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
4547
add_dependencies(meshFields tags)
4648
endif()

0 commit comments

Comments
 (0)