first , find files
find . -name "*.h" -o -name "*.c" -o -name "*.cc" -o -name "*.cpp" > cscope.files
next create index
cscope -b -q -k
enter cscope
cscope -d
exit cscope
ctrl+d
cscope official site:
http://cscope.sourceforge.net/
本文介绍如何使用cscope进行高效文件搜索,包括查找特定类型的文件(.h, .c, .cc, .cpp),创建索引文件,并通过cscope命令进行索引浏览和深度查询。
2213

被折叠的 条评论
为什么被折叠?



