免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1315 | 回复: 0
打印 上一主题 下一主题

更好的tag和cscope的支持 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-28 15:52 |只看该作者 |倒序浏览
从log上看都加了差不多快半年了,把 make tags 和 make cscope 的工作从原来的 Makefile 里面分离出来了,引用 commit 如下:
commit a680eedc6c621c75695c68198533fc3c98f4053b
Author: Sam Ravnborg
Date:   Wed Dec 3 22:24:13 2008 +0100
    tags and cscope support really belongs in a shell script
    as they do not benefit from the make functionality.
   
    Moving the support to a shell script has several benefits:
    - The readability of the code has increased a lot
    - More people is able to extend the tags support
    - We see less changes to the top-level Makefile
   
    The shell script version includes improvements from:
    Alexey Dobriyan  (jump to kconfig symbols)
    Alexey Dobriyan  (drop ./ in paths)
    Ian Campbell  (simplified find algorithms)
   
    This version has a few caveats:
    => It does not support ALLSOURCE_ARCHS
       - it is easy to add if it is really used
    => It assumes all archs have moved to arch/$ARCH/include
       - until that happens we have a few additional hits in the archs
   
    Signed-off-by: Sam Ravnborg
    Cc: Alexey Dobriyan
    Tested-by: Ian Campbell
实际使用起来,生成 tags 等的命令还是一样的,和原来没有差别,但是生成的 tag 和 cscope.out 就不一样了,从体验上来说,比原来好用的多了。
嗯。体验提升了,一定要赞。
此外,一直不晓得的用法也要备份一下:
$gvim -t just_for_fun
Hope that you won't go straight forward with above command.
:---)


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17564/showart_1913152.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP