]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/ifacecheck/rungccxml.sh.in
include compile support for tests on OpenVMS (part3)
[wxWidgets.git] / utils / ifacecheck / rungccxml.sh.in
index d50c4189ea1d0445ad70fb887d37b7cba7690e48..c933d4dffc360646106652243a906a6e9bc87c97 100755 (executable)
@@ -31,10 +31,9 @@ if [[ ! -z "$1" ]]; then
 fi
 
 me=$(basename $0)
-path=${0%%/$me}
-current=$(pwd)         # current path
+current=$(pwd)/${0%%/$me}            # current path
 
-#gccxmloutput="$current/$gccxmloutput"
+gccxmloutput="$current/$gccxmloutput"
 
 cd @top_srcdir@/include              # go to wx include folder
 
@@ -51,7 +50,9 @@ for f in $headerlist; do
 done
 
 # filter the configure flags to pass to gccxml
-flags="@CXXFLAGS@"
+wx_top_builddir="@wx_top_builddir@"
+top_srcdir="@top_srcdir@"
+flags="@CPPFLAGS@ @CXXFLAGS@"
 
 # NOTE: it's important to define __WXDEBUG__ because some functions of wx
 #       are declared (and thus parsed by gcc) only if that symbol is defined.