æ¤ç´¢å¯¾è±¡ã®ãã¡ã¤ã«ã®ãªã¹ããä½ã
find . -name *.[chS] | sort > cscope.index
èµ·åæã«æ¯åã¯ãã¹ãªãã¡ã¬ã³ã¹ãçæããã®ãé¿ããããã«ä¸åçæãã¦ãã
#次åèµ·åæã¯çæãã¦ããããã®ãèªã¿è¾¼ã¾ãã
cscope -b -i cscope.index
ä¸ã¨åæ§ã®çç±ã§,ã·ã³ãã«ã®é«éæ¤ç´¢ã®ããã®è»¢ç½®ã¤ã³ããã¯ã¹?ãçæãã¦ãã
cscope -q -i cscope.index
èµ·å
cscope -i cscope.index
#追è¨
ä¸ã«æ¸ããããã«é¢åããããã¨ããªãã¦ã
cscope -R
ã¨ãã§å¿ è¦ãªãã¼ã¿ãçæããã¦èµ·åãããããã§ã
ããã¦2åç®ä»¥éã¯
cscope -Rd
ã§ãªã±
ã¤ã³ã¯ã«ã¼ããã¡ã¤ã«ãããå ´åã¯
cscope -R -I ã¤ã³ã¯ã«ã¼ããã¡ã¤ã«ã®ãããã£ã¬ã¯ããª
ã¨ããããã«æå®ãã¹ã
Thanks to Kaigaiãã