]> git.saurik.com Git - wxWidgets.git/blob - misc/scripts/makeunixtags.sh
fix the output length returned from cWC2MB/MB2WC() to be consistent with From/ToWChar...
[wxWidgets.git] / misc / scripts / makeunixtags.sh
1 ##############################################################################
2 # Name: misc/scripts/makeunixtags.sh
3 # Purpose: create tags file for a wxWidgets port under a Unix system
4 # Created: 2007-05-05
5 # RCS-ID: $Id$
6 # Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwindows.org>
7 # Licence: wxWindows licence
8 ##############################################################################
9
10 # this function should be called with a single parameter containing addition
11 # port-specific directories to scan
12 function create_tags()
13 {
14 ctags --totals --c++-kinds=+px --language-force=c++ \
15 --exclude=include/wx/vms_x_fix.h \
16 -I WXDLLEXPORT_DATA+ -I WXDLLEXPORT \
17 -I WXDLLIMPEXP_DATA_ADV+ -I WXDLLIMPEXP_ADV \
18 -I WXDLLIMPEXP_DATA_AUI+ -I WXDLLIMPEXP_AUI \
19 -I WXDLLIMPEXP_DATA_BASE+ -I WXDLLIMPEXP_BASE \
20 -I WXDLLIMPEXP_DATA_CORE+ -I WXDLLIMPEXP_CORE \
21 -I WXDLLIMPEXP_DATA_DBGRID+ -I WXDLLIMPEXP_DBGRID \
22 -I WXDLLIMPEXP_DATA_HTML+ -I WXDLLIMPEXP_HTML \
23 -I WXDLLIMPEXP_DATA_GL+ -I WXDLLIMPEXP_GL \
24 -I WXDLLIMPEXP_DATA_MEDIA+ -I WXDLLIMPEXP_MEDIA \
25 -I WXDLLIMPEXP_DATA_NET+ -I WXDLLIMPEXP_NET \
26 -I WXDLLIMPEXP_DATA_ODBC+ -I WXDLLIMPEXP_ODBC \
27 -I WXDLLIMPEXP_DATA_QA+ -I WXDLLIMPEXP_QA \
28 -I WXDLLIMPEXP_DATA_RICHTEXT+ -I WXDLLIMPEXP_RICHTEXT \
29 -I WXDLLIMPEXP_DATA_STC+ -I WXDLLIMPEXP_STC \
30 -I WXDLLIMPEXP_DATA_XML+ -I WXDLLIMPEXP_XML \
31 -I WXDLLIMPEXP_DATA_XRC+ -I WXDLLIMPEXP_XRC \
32 include/wx/*.h \
33 include/wx/private/*.h \
34 include/wx/aui/*.h \
35 include/wx/generic/*.h \
36 include/wx/$1/*.h \
37 include/wx/$1/private/*.h \
38 include/wx/html/*.h \
39 include/wx/protocol/*.h \
40 include/wx/richtext/*.h \
41 include/wx/xml/*.h \
42 include/wx/xrc/*.h \
43 include/wx/unix/*.h \
44 include/wx/unix/private/*.h \
45 src/aui/*.cpp \
46 src/common/*.cpp \
47 src/generic/*.cpp \
48 src/$1/*.cpp \
49 src/html/*.cpp \
50 src/richtext/*.cpp \
51 src/unix/*.cpp \
52 src/xml/*.cpp \
53 src/xrc/*.cpp
54 }