From 187fad412a9dd36ef3958c55ab3ace4bd2b1f570 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 4 Nov 2012 23:51:13 +0000 Subject: [PATCH] Fix annoying warning when running the script to generate tags under OS X. It complained about no matches for src/osx/cocoa/*.cpp. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- misc/scripts/makeosxtags.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/misc/scripts/makeosxtags.sh b/misc/scripts/makeosxtags.sh index dcb72f4768..1509eec6f9 100755 --- a/misc/scripts/makeosxtags.sh +++ b/misc/scripts/makeosxtags.sh @@ -3,6 +3,12 @@ create_tags osx osx_port=${1-carbon} +if [[ $osx_port = carbon ]]; then + ext=cpp +else + ext=mm +fi + ctags --totals --c++-kinds=+px --language-force=c++ \ -f osx_$osx_port.tags \ -I @misc/scripts/ctags.ignore \ @@ -12,4 +18,4 @@ ctags --totals --c++-kinds=+px --language-force=c++ \ include/wx/osx/$osx_port/*.h \ include/wx/osx/$osx_port/private/*.h \ src/osx/core/*.cpp \ - src/osx/$osx_port/*.{cpp,mm} + src/osx/$osx_port/*.$ext -- 2.47.2