]> granicus.if.org Git - graphviz/commitdiff
Windows: added quotes around BISON and FLEX calls.
authorErwin Janssen <erwinjanssen@outlook.com>
Mon, 20 Jun 2016 20:18:00 +0000 (22:18 +0200)
committerErwin Janssen <erwinjanssen@outlook.com>
Mon, 20 Jun 2016 20:18:00 +0000 (22:18 +0200)
This prevents a failure if a directory with a space is used.

lib/cgraph/cgraph.vcxproj

index 1490d0dfe2fa238360e96c43d895cdfbbebb6080..bf6b2f3b8ec731bc2d7c912540395712b51077c3 100644 (file)
@@ -71,7 +71,8 @@
       <TargetMachine>MachineX86</TargetMachine>
     </Link>
     <PreBuildEvent>
-      <Command>%BISON% -dy grammar.y -o grammar.c &amp;&amp; %FLEX% -o scan.c scan.l</Command>
+      <Command>"%BISON%" -dy grammar.y -o grammar.c
+"%FLEX%" -o scan.c scan.l</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -94,7 +95,8 @@
       <TargetMachine>MachineX86</TargetMachine>
     </Link>
     <PreBuildEvent>
-      <Command>%BISON% -dy grammar.y -o grammar.c &amp;&amp; %FLEX% -o scan.c scan.l</Command>
+      <Command>"%BISON%" -dy grammar.y -o grammar.c
+"%FLEX%" -o scan.c scan.l</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>