]> granicus.if.org Git - graphviz/commitdiff
Adapt MSBuild project files to renamed win_flex and win_bison
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 25 Aug 2020 18:25:33 +0000 (20:25 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Wed, 26 Aug 2020 04:29:03 +0000 (06:29 +0200)
cmd/lefty/lefty.vcxproj
cmd/tools/gml2gv.vcxproj
lib/cgraph/cgraph.vcxproj
lib/expr/expr.vcxproj
lib/gvc.vcxproj

index a9588ae08f0233248b64f4c6e76c2eec95bdb897..c392394dd19522ab8264f62e812ed8dd913b1a7d 100644 (file)
@@ -70,7 +70,7 @@
       <TargetMachine>MachineX86</TargetMachine>
     </Link>
     <PreBuildEvent>
-      <Command>bison -dy dot2l\dotparse.y -o dot2l\dotparse.c</Command>
+      <Command>win_bison -dy dot2l\dotparse.y -o dot2l\dotparse.c</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -93,7 +93,7 @@
       <TargetMachine>MachineX86</TargetMachine>
     </Link>
     <PreBuildEvent>
-      <Command>bison -dy dot2l\dotparse.y -o dot2l\dotparse.c</Command>
+      <Command>win_bison -dy dot2l\dotparse.y -o dot2l\dotparse.c</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>
index a946f57bf52f88c49a5166874966fc72895fe8da..46b3d0c59db269baebf09ad130d37bb830a92d9c 100644 (file)
       <AdditionalDependencies>getopt.lib;cdt.lib;cgraph.lib;ingraphs.lib;gvc.lib;%(AdditionalDependencies)</AdditionalDependencies>
     </Link>
     <PreBuildEvent>
-      <Command>flex  -o gmlscan-intermediate.c -i gmlscan.l
+      <Command>win_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
+win_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
@@ -101,10 +101,10 @@ del gmlparse-intermediate.c</Command>
       <AdditionalDependencies>getopt.lib;cdt.lib;cgraph.lib;ingraphs.lib;gvc.lib;%(AdditionalDependencies)</AdditionalDependencies>
     </Link>
     <PreBuildEvent>
-      <Command>flex  -o gmlscan-intermediate.c -i gmlscan.l
+      <Command>win_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
+win_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
index b8f1d587169e71ab5fc6b9cfcd240076cf9058d0..faf248b2cda25f30e3c6233b0553f5debab59dad 100644 (file)
@@ -70,8 +70,8 @@
       <TargetMachine>MachineX86</TargetMachine>
     </Link>
     <PreBuildEvent>
-      <Command>bison -dy grammar.y -o grammar.c
-flex -oscan.c scan.l</Command>
+      <Command>win_bison -dy grammar.y -o grammar.c
+win_flex -oscan.c scan.l</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -93,8 +93,8 @@ flex -oscan.c scan.l</Command>
       <TargetMachine>MachineX86</TargetMachine>
     </Link>
     <PreBuildEvent>
-      <Command>bison -dy grammar.y -o grammar.c
-flex -oscan.c scan.l</Command>
+      <Command>win_bison -dy grammar.y -o grammar.c
+win_flex -oscan.c scan.l</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>
index a0c97dda423f936b812bba146550e925c66cb0c8..a170a3df8de8de26285e4f2842c217c96ff01ea4 100644 (file)
@@ -64,7 +64,7 @@
     </ClCompile>
     <Lib />
     <PreBuildEvent>
-      <Command>bison -dy exparse.y -o exparse-intermediate.c
+      <Command>win_bison -dy exparse.y -o exparse-intermediate.c
 sed "s/yy/ex/g" &lt; exparse-intermediate.c | sed "s/YY/EX/g" &gt; exparse.c
 sed "s/yy/ex/g" &lt; exparse-intermediate.h | sed "s/YY/EX/g" &gt; exparse.h
 del exparse-intermediate.c
@@ -82,7 +82,7 @@ del exparse-intermediate.h</Command>
     </ClCompile>
     <Lib />
     <PreBuildEvent>
-      <Command>bison -dy exparse.y -o exparse-intermediate.c
+      <Command>win_bison -dy exparse.y -o exparse-intermediate.c
 sed "s/yy/ex/g" &lt; exparse-intermediate.c | sed "s/YY/EX/g" &gt; exparse.c
 sed "s/yy/ex/g" &lt; exparse-intermediate.h | sed "s/YY/EX/g" &gt; exparse.h
 del exparse-intermediate.c
index ab8b9668bcaf635d5ac2be68c5b03d7ba3d46b62..64b88f898bd1c79d74f6990316b01bc253f9e4a2 100644 (file)
@@ -72,7 +72,7 @@
       <AdditionalDependencies>cdt.lib;cgraph.lib;xml2.lib;expat.lib;zlib.lib;rxspencer.lib;%(AdditionalDependencies)</AdditionalDependencies>
     </Link>
     <PreBuildEvent>
-      <Command>bison -dy common\htmlparse.y -o common\htmlparse-intermediate.c
+      <Command>win_bison -dy common\htmlparse.y -o common\htmlparse-intermediate.c
 sed "s/yy/html/g" &lt; common\htmlparse-intermediate.c &gt; common\htmlparse.c
 sed "s/yy/html/g" &lt; common\htmlparse-intermediate.h &gt; common\htmlparse.h
 del common\htmlparse-intermediate.c
@@ -107,7 +107,7 @@ awk -f $(SolutionDir)awk\colortbl.awk color_lib &gt; common\colortbl.h</Command>
       <AdditionalDependencies>cdt.lib;cgraph.lib;xml2.lib;expat.lib;zlib.lib;rxspencer.lib;%(AdditionalDependencies)</AdditionalDependencies>
     </Link>
     <PreBuildEvent>
-      <Command>bison -dy common\htmlparse.y -o common\htmlparse-intermediate.c
+      <Command>win_bison -dy common\htmlparse.y -o common\htmlparse-intermediate.c
 sed "s/yy/html/g" &lt; common\htmlparse-intermediate.c &gt; common\htmlparse.c
 sed "s/yy/html/g" &lt; common\htmlparse-intermediate.h &gt; common\htmlparse.h
 del common\htmlparse-intermediate.c