mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-24 13:18:38 -05:00
Add ctags and etags targets to CMake
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5265 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
b5c4abf714
commit
42ad221d9e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
TAGS
|
@ -505,6 +505,13 @@ if (APPLE)
|
|||||||
endif (APPLE)
|
endif (APPLE)
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# find some useful tools
|
||||||
|
#
|
||||||
|
find_program(CTAGS ctags)
|
||||||
|
find_program(ETAGS etags)
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# C & C++ setup
|
# C & C++ setup
|
||||||
#
|
#
|
||||||
@ -727,6 +734,17 @@ elseif (CMAKE_HOST_WIN32)
|
|||||||
add_definitions (-DWIN32)
|
add_definitions (-DWIN32)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
#
|
||||||
|
# source navigation
|
||||||
|
#
|
||||||
|
set (sources
|
||||||
|
${CMAKE_SOURCE_DIR}/*
|
||||||
|
${CMAKE_SOURCE_DIR}/logbook/*
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/*
|
||||||
|
)
|
||||||
|
add_custom_target (ctags COMMAND ${CTAGS} -o ${CMAKE_SOURCE_DIR}/tags -R ${sources})
|
||||||
|
add_custom_target (etags COMMAND ${ETAGS} -o ${CMAKE_SOURCE_DIR}/TAGS -R ${sources})
|
||||||
|
|
||||||
|
|
||||||
# embedded resources
|
# embedded resources
|
||||||
function (add_resources resources path)
|
function (add_resources resources path)
|
||||||
|
Loading…
Reference in New Issue
Block a user