]> granicus.if.org Git - graphviz/commitdiff
add MSBuild project reference to ortho for gvc
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 12 Jul 2021 13:42:05 +0000 (15:42 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 14 Jul 2021 09:18:43 +0000 (11:18 +0200)
This is a preparation for adding ortho as a link dependency to gvc in
an upcoming commit. It ensures the correct build order under all
circumstances, also when gvc is built stand-alone. A link dependency
is not enough which does not cause the link dependency to actually be
built.

A project reference is a more modern way of creating a project
dependency than the centralized project dependencies in the solution
file. See https://stackoverflow.com/a/2317017/3122101.

Towards https://gitlab.com/graphviz/graphviz/-/issues/2096.

lib/gvc.vcxproj

index 708d8b4b0043de4acd2a2d84956cc9d26ad809cd..7c9e607797e209259c03e9a8f73e84054dd1cecb 100644 (file)
@@ -209,6 +209,9 @@ awk -f $(SolutionDir)awk\colortbl.awk color_lib &gt; common\colortbl.h</Command>
       <Project>{83cf0498-7884-49d3-8b3c-263c5af5fe1b}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
+    <ProjectReference Include="ortho\gvortho.vcxproj">
+      <Project>{2d29953f-2d74-471e-a064-5d184e762dff}</Project>
+    </ProjectReference>
     <ProjectReference Include="patchwork\gvpatchwork.vcxproj">
       <Project>{6bd77bde-151d-4824-a8bc-9f067662f7ab}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>