3 # NOTE: This script must reside in the main xonotic repo directory
9 cscope_cmd="cscope -bc"
11 # Windows: mingw version of cscope can't be used as it writes code path
12 # in Unix format to the index, making it broken for Windows apps that use it
13 if [ -e cscope.exe ] ; then
14 cscope_cmd="$PWD""/cscope.exe -bcX"
19 echo Updating qcsrc index...
21 cd data/xonotic-data.pk3dir/qcsrc
22 find -name '*.inc' -or -name '*.q[ch]' > cscope.files
29 echo Updating DP index...
39 read -n1 -r -p 'Press any key to exit.' key