Script contributed by Godofredo Contreras to build lex sources under windows with qmake

git-svn-id: http://svn.osgeo.org/qgis/trunk@6006 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2006-10-24 18:30:03 +00:00
parent 4ef37a0010
commit b15d7be3da

11
src/core/genlexyacc.bat Normal file
View File

@ -0,0 +1,11 @@
@echo off
IF EXIST qgssearchstringlexer.cc del qgssearchstringlexer.cc
IF EXIST qgssearchstringparser.h del qgssearchstringparser.h
IF EXIST qgssearchstringparser.cc del qgssearchstringparser.cc
flex qgssearchstringlexer.ll
ren lex.yy.c qgssearchstringlexer.cc
bison -y -d qgssearchstringparser.yy
ren y.tab.c qgssearchstringparser.cc
ren y.tab.h qgssearchstringparser.h