Skip to content

Commit

Permalink
Script contributed by Godofredo Contreras to build lex sources under …
Browse files Browse the repository at this point in the history
…windows with qmake

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6006 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 24, 2006
1 parent 7d22916 commit e9b15c0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/core/genlexyacc.bat
@@ -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


0 comments on commit e9b15c0

Please sign in to comment.