CHERE_INVOKING: 1
matrix:
- compiler: msbuild
- BISON: C:\projects\graphviz\windows\dependencies\graphviz-build-utilities\bison.exe
- FLEX: C:\projects\graphviz\windows\dependencies\graphviz-build-utilities\flex.exe
- SED: C:\projects\graphviz\windows\dependencies\graphviz-build-utilities\sed.exe
#- compiler: msys2
#- compiler: cygwin
cd $env:APPVEYOR_BUILD_FOLDER
if($env:compiler -eq "msbuild") {
+ $env:Path += ";" + $env:APPVEYOR_BUILD_FOLDER + "\windows\dependencies\graphviz-build-utilities";
msbuild /p:Configuration=$env:configuration;
if($env:configuration -eq "Release") {
rm Release\Graphviz\bin\*.lastcodeanalysissucceeded;
<TargetMachine>MachineX86</TargetMachine>
</Link>
<PreBuildEvent>
- <Command>"%BISON%" -dy dot2l\dotparse.y -o dot2l\dotparse.c</Command>
+ <Command>bison -dy dot2l\dotparse.y -o dot2l\dotparse.c</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<TargetMachine>MachineX86</TargetMachine>
</Link>
<PreBuildEvent>
- <Command>"%BISON%" -dy dot2l\dotparse.y -o dot2l\dotparse.c</Command>
+ <Command>bison -dy dot2l\dotparse.y -o dot2l\dotparse.c</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<AdditionalDependencies>getopt.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
- <Command>"%FLEX%" -o gmlscan-intermediate.c -i gmlscan.l
-"%SED%" "s/yy/gml/g" < gmlscan-intermediate.c > gmlscan.c
+ <Command>flex -o gmlscan-intermediate.c -i gmlscan.l
+sed "s/yy/gml/g" < gmlscan-intermediate.c > gmlscan.c
del gmlscan-intermediate.c
-"%BISON%" -dy gmlparse.y -o gmlparse-intermediate.c
-"%SED%" "s/yy/gml/g" < gmlparse-intermediate.h > gmlparse.h
-"%SED%" "s/yy/gml/g" < gmlparse-intermediate.c > gmlparse.c
+bison -dy gmlparse.y -o gmlparse-intermediate.c
+sed "s/yy/gml/g" < gmlparse-intermediate.h > gmlparse.h
+sed "s/yy/gml/g" < gmlparse-intermediate.c > gmlparse.c
del gmlparse-intermediate.h
del gmlparse-intermediate.c</Command>
</PreBuildEvent>
<AdditionalDependencies>getopt.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
- <Command>"%FLEX%" -o gmlscan-intermediate.c -i gmlscan.l
-"%SED%" "s/yy/gml/g" < gmlscan-intermediate.c > gmlscan.c
+ <Command>flex -o gmlscan-intermediate.c -i gmlscan.l
+sed "s/yy/gml/g" < gmlscan-intermediate.c > gmlscan.c
del gmlscan-intermediate.c
-"%BISON%" -dy gmlparse.y -o gmlparse-intermediate.c
-"%SED%" "s/yy/gml/g" < gmlparse-intermediate.h > gmlparse.h
-"%SED%" "s/yy/gml/g" < gmlparse-intermediate.c > gmlparse.c
+bison -dy gmlparse.y -o gmlparse-intermediate.c
+sed "s/yy/gml/g" < gmlparse-intermediate.h > gmlparse.h
+sed "s/yy/gml/g" < gmlparse-intermediate.c > gmlparse.c
del gmlparse-intermediate.h
del gmlparse-intermediate.c</Command>
</PreBuildEvent>
<ModuleDefinitionFile>cgraph.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
- <Command>"%BISON%" -dy grammar.y -o grammar.c
-"%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'">
<ModuleDefinitionFile>cgraph.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
- <Command>"%BISON%" -dy grammar.y -o grammar.c
-"%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>
</ClCompile>
<Lib />
<PreBuildEvent>
- <Command>"%BISON%" -dy exparse.y -o exparse-intermediate.c
-"%SED%" "s/yy/ex/g" < exparse-intermediate.c | "%SED%" "s/YY/EX/g" > exparse.c
-"%SED%" "s/yy/ex/g" < exparse-intermediate.h | "%SED%" "s/YY/EX/g" > exparse.h
+ <Command>bison -dy exparse.y -o exparse-intermediate.c
+sed "s/yy/ex/g" < exparse-intermediate.c | sed "s/YY/EX/g" > exparse.c
+sed "s/yy/ex/g" < exparse-intermediate.h | sed "s/YY/EX/g" > exparse.h
del exparse-intermediate.c
del exparse-intermediate.h</Command>
</PreBuildEvent>
</ClCompile>
<Lib />
<PreBuildEvent>
- <Command>"%BISON%" -dy exparse.y -o exparse-intermediate.c
-"%SED%" "s/yy/ex/g" < exparse-intermediate.c | "%SED%" "s/YY/EX/g" > exparse.c
-"%SED%" "s/yy/ex/g" < exparse-intermediate.h | "%SED%" "s/YY/EX/g" > exparse.h
+ <Command>bison -dy exparse.y -o exparse-intermediate.c
+sed "s/yy/ex/g" < exparse-intermediate.c | sed "s/YY/EX/g" > exparse.c
+sed "s/yy/ex/g" < exparse-intermediate.h | sed "s/YY/EX/g" > exparse.h
del exparse-intermediate.c
del exparse-intermediate.h</Command>
</PreBuildEvent>
<ModuleDefinitionFile>gvc.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
- <Command>"%BISON%" -dy common\htmlparse.y -o common\htmlparse-intermediate.c
-"%SED%" "s/yy/html/g" < common\htmlparse-intermediate.c > common\htmlparse.c
-"%SED%" "s/yy/html/g" < common\htmlparse-intermediate.h > common\htmlparse.h
+ <Command>bison -dy common\htmlparse.y -o common\htmlparse-intermediate.c
+sed "s/yy/html/g" < common\htmlparse-intermediate.c > common\htmlparse.c
+sed "s/yy/html/g" < common\htmlparse-intermediate.h > common\htmlparse.h
del common\htmlparse-intermediate.c
del common\htmlparse-intermediate.h</Command>
</PreBuildEvent>
<ModuleDefinitionFile>gvc.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
- <Command>"%BISON%" -dy common\htmlparse.y -o common\htmlparse-intermediate.c
-"%SED%" "s/yy/html/g" < common\htmlparse-intermediate.c > common\htmlparse.c
-"%SED%" "s/yy/html/g" < common\htmlparse-intermediate.h > common\htmlparse.h
+ <Command>bison -dy common\htmlparse.y -o common\htmlparse-intermediate.c
+sed "s/yy/html/g" < common\htmlparse-intermediate.c > common\htmlparse.c
+sed "s/yy/html/g" < common\htmlparse-intermediate.h > common\htmlparse.h
del common\htmlparse-intermediate.c
del common\htmlparse-intermediate.h</Command>
</PreBuildEvent>