summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/win32/vs10/gi-version-paths.props.in (renamed from build/win32/vs10/gi-version-paths.props)4
-rw-r--r--build/win32/vs9/gi-version-paths.vsprops.in (renamed from build/win32/vs9/gi-version-paths.vsprops)4
-rw-r--r--configure.ac2
3 files changed, 10 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>
diff --git a/build/win32/vs9/gi-version-paths.vsprops b/build/win32/vs9/gi-version-paths.vsprops.in
index 5cde3304..8e2f858d 100644
--- a/build/win32/vs9/gi-version-paths.vsprops
+++ b/build/win32/vs9/gi-version-paths.vsprops.in
@@ -35,6 +35,10 @@
Value="PYTHON=$(PythonDirX64)\python.exe"
/>
<UserMacro
+ Name="GIVersion"
+ Value="@PACKAGE_VERSION@"
+ />
+ <UserMacro
Name="BASE_GI_DIR"
Value="$(SolutionDir)\..\..\.."
/>
diff --git a/configure.ac b/configure.ac
index 0c35f6d3..2d9d5eaa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -377,7 +377,9 @@ config.h.win32
build/Makefile
build/win32/Makefile
build/win32/vs9/Makefile
+build/win32/vs9/gi-version-paths.vsprops
build/win32/vs10/Makefile
+build/win32/vs10/gi-version-paths.props
build/win32/vs11/Makefile
build/win32/vs12/Makefile
build/win32/vs14/Makefile])