Commit da0cd7b2 authored by Chun-wei Fan's avatar Chun-wei Fan

Visual Studio builds: Include package version in property sheets

This is done so that we can use this info to generate .pc files for Visual
Studio builds.
parent 8bf4354f
......@@ -318,6 +318,7 @@ doc/version.xml
config.h.win32
win32/Makefile
win32/vs12/Makefile
win32/vs12/rsvg-version-paths.props
win32/vs14/Makefile
win32/vs15/Makefile
])
......
......@@ -3,6 +3,9 @@
<ImportGroup Label="PropertySheets">
</ImportGroup>
<PropertyGroup Label="UserMacros">
<RsvgMajorVersion>@LIBRSVG_MAJOR_VERSION@</RsvgMajorVersion>
<RsvgMinorVersion>@LIBRSVG_MINOR_VERSION@</RsvgMinorVersion>
<RsvgMicroVersion>@LIBRSVG_MICRO_VERSION@</RsvgMicroVersion>
<ApiVersion>2.0</ApiVersion>
<VSVer>12</VSVer>
<GlibEtcInstallRoot>$(SolutionDir)\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
......@@ -20,6 +23,15 @@
</PropertyGroup>
<ItemDefinitionGroup />
<ItemGroup>
<BuildMacro Include="RsvgMajorVersion">
<Value>$(RsvgMajorVersion)</Value>
</BuildMacro>
<BuildMacro Include="RsvgMinorVersion">
<Value>$(RsvgMinorVersion)</Value>
</BuildMacro>
<BuildMacro Include="RsvgMicroVersion">
<Value>$(RsvgMicroVersion)</Value>
</BuildMacro>
<BuildMacro Include="ApiVersion">
<Value>$(ApiVersion)</Value>
</BuildMacro>
......
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