fix for gccxml

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-09-18 18:47:57 +00:00
parent f910f4d5cb
commit 8e1903816a
2 changed files with 29 additions and 20 deletions

View File

@@ -17,6 +17,10 @@
#if wxUSE_AUI
#include "wx/control.h"
#include "wx/sizer.h"
#include "wx/pen.h"
//class WXDLLIMPEXP_FWD_CORE wxSizerItem;
enum wxAuiToolBarStyle
{

View File

@@ -44,6 +44,7 @@ headerlist=`$listcmd | grep -v wxshl | grep -v wx_cw | grep -v setup | grep -v x
cd $current # return to the original path
# create the header file to pass to gccxml
echo "Creating the $allheaders dummy file which #includes all wxWidgets interface header files..."
if [[ -f $allheaders ]]; then rm $allheaders; fi
for f in $headerlist; do
echo "#include <$f>" >> $allheaders
@@ -64,6 +65,10 @@ flags="-I . -I @top_srcdir@/include $flags -D__WXDEBUG__ -D__WX@TOOLKIT@__ -DWXB
echo "Running gccxml on the $allheaders file... results in $gccxmloutput"
if [[ -f "$gccxmloutput" ]]; then rm $gccxmloutput; fi
gccxml $flags -fxml=$gccxmloutput
if [[ $? != 0 ]]; then
echo "Errors running gccxml... aborting."
exit
fi
# now get the list of the #defined values for wx headers, so that the result
# can be passed to ifacecheck to aid the comparison