網頁

2019年3月20日 星期三

cscope and gtags

cscope

find ./ -name "*.c" -o -name "*.h" | awk '{printf("\"%s\"\n", $0)}' > cscope.files
cscope -Rbq -i cscope.files

we need to deal with spaces in the path for cscope.

global gtags

find ./ -name "*.c" -o -name "*.h" > gtags.files
gtags

沒有留言:

張貼留言