Only create wxOSX/Cocoa tags in makeosxtags script
There is no need to handle Carbon port any more, so simplify the script and just append the Cocoa-specific tags to the main tags file instead of creating another one.
This commit is contained in:
@@ -2,20 +2,13 @@
|
|||||||
. `dirname $0`/makeunixtags.sh
|
. `dirname $0`/makeunixtags.sh
|
||||||
create_tags osx
|
create_tags osx
|
||||||
|
|
||||||
osx_port=${1-cocoa}
|
|
||||||
if [[ $osx_port = carbon ]]; then
|
|
||||||
ext=cpp
|
|
||||||
else
|
|
||||||
ext=mm
|
|
||||||
fi
|
|
||||||
|
|
||||||
ctags --totals --c++-kinds=+px --language-force=c++ \
|
ctags --totals --c++-kinds=+px --language-force=c++ \
|
||||||
-f osx_$osx_port.tags \
|
-a \
|
||||||
-I @misc/scripts/ctags.ignore \
|
-I @misc/scripts/ctags.ignore \
|
||||||
include/wx/osx/core/*.h \
|
include/wx/osx/core/*.h \
|
||||||
include/wx/osx/core/private/*.h \
|
include/wx/osx/core/private/*.h \
|
||||||
include/wx/osx/private/*.h \
|
include/wx/osx/private/*.h \
|
||||||
include/wx/osx/$osx_port/*.h \
|
include/wx/osx/cocoa/*.h \
|
||||||
include/wx/osx/$osx_port/private/*.h \
|
include/wx/osx/cocoa/private/*.h \
|
||||||
src/osx/core/*.cpp \
|
src/osx/core/*.cpp \
|
||||||
src/osx/$osx_port/*.$ext
|
src/osx/cocoa/*.mm
|
||||||
|
Reference in New Issue
Block a user