Commit 3b4efc11 authored by Erwin Janssen's avatar Erwin Janssen

Windows: Added Bison and Flex build steps to gml2gv.

parent 3536a019
......@@ -64,6 +64,16 @@
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<PreBuildEvent>
<Command>%FLEX% -o gmlscan-intermediate.c -i gmlscan.l
%SED% "s/yy/gml/g" &lt; gmlscan-intermediate.c &gt; gmlscan.c
del gmlscan-intermediate.c
%BISON% -dy gmlparse.y -o gmlparse-intermediate.c
%SED% "s/yy/gml/g" &lt; gmlparse-intermediate.h &gt; gmlparse.h
%SED% "s/yy/gml/g" &lt; gmlparse-intermediate.c &gt; gmlparse.c
del gmlparse-intermediate.h
del gmlparse-intermediate.c</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
......@@ -82,6 +92,16 @@
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<PreBuildEvent>
<Command>%FLEX% -o gmlscan-intermediate.c -i gmlscan.l
%SED% "s/yy/gml/g" &lt; gmlscan-intermediate.c &gt; gmlscan.c
del gmlscan-intermediate.c
%BISON% -dy gmlparse.y -o gmlparse-intermediate.c
%SED% "s/yy/gml/g" &lt; gmlparse-intermediate.h &gt; gmlparse.h
%SED% "s/yy/gml/g" &lt; gmlparse-intermediate.c &gt; gmlparse.c
del gmlparse-intermediate.h
del gmlparse-intermediate.c</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="gml2gv.h" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment