summaryrefslogtreecommitdiff
path: root/build/win32/vs10
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2016-03-18 16:30:10 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2016-03-18 16:48:28 +0800
commitb13dc3f35e0920137984fe9313d21bd50b081ff6 (patch)
treeb34ae718351bde9e97eecdfcf95f8f399f32eba3 /build/win32/vs10
parentf00d0024ed49c600f41f238b0fdc829855492b04 (diff)
downloadgobject-introspection-b13dc3f35e0920137984fe9313d21bd50b081ff6.tar.gz
MSVC builds: Have the package version available in the projects
This is used for generating the pkg-config file for this package.
Diffstat (limited to 'build/win32/vs10')
-rw-r--r--build/win32/vs10/gi-version-paths.props.in (renamed from build/win32/vs10/gi-version-paths.props)4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/win32/vs10/gi-version-paths.props b/build/win32/vs10/gi-version-paths.props.in
index ae370f45..bdb0dd91 100644
--- a/build/win32/vs10/gi-version-paths.props
+++ b/build/win32/vs10/gi-version-paths.props.in
@@ -10,6 +10,7 @@
<PythonDirX64>$(PythonDir).x64</PythonDirX64>
<IntrospectPythonParam>PYTHON=$(PythonDir)\python.exe</IntrospectPythonParam>
<IntrospectPythonParamX64>PYTHON=$(PythonDirX64)\python.exe</IntrospectPythonParamX64>
+ <GIVersion>@PACKAGE_VERSION@</GIVersion>
<BASE_GI_DIR>$(SolutionDir)\..\..\..</BASE_GI_DIR>
<ApiVersion>1.0</ApiVersion>
<DefDir>$(SolutionDir)$(Configuration)\$(Platform)\obj\$(ProjectName)</DefDir>
@@ -45,6 +46,9 @@
<BuildMacro Include="IntrospectPythonParamX64">
<Value>$(IntrospectPythonParamX64)</Value>
</BuildMacro>
+ <BuildMacro Include="GIVersion">
+ <Value>$(GIVersion)</Value>
+ </BuildMacro>
<BuildMacro Include="BASE_GI_DIR">
<Value>$(BASE_GI_DIR)</Value>
</BuildMacro>