summaryrefslogtreecommitdiffstats
path: root/solenv/bin/create-tags
blob: a61c5b68c65bac2ff4c549a56a78eea691e47171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

if [ -z "$INPATH" ] ; then
   INPATH=$(grep "INPATH=" ./config_host.mk | sed -e "s/INPATH=//")
fi
if [ -z "$INPATH" ] ; then
    echo "could not determine INPATH" >&2
    exit 1
fi


omnicppoptions="--c++-kinds=+p --fields=+iaS --extra=+q"
ctags -h "+.hdl.hrc" --langmap=c:+.hdl.hrc.src $omnicppoptions \
      --languages=-HTML,Java \
      -R --exclude=`echo ${INPATH} | sed 's/\./\\\./g'` --exclude=binfilter --exclude=solver \
      --exclude=clone --exclude=install --totals=yes --sort=foldcase *