[gtksourceview] MSVC Projects: Fix build
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] MSVC Projects: Fix build
- Date: Fri, 5 Oct 2018 09:46:49 +0000 (UTC)
commit 8fef3a50463e7511e13e6af5345e6b47278ec884
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Oct 5 16:32:11 2018 +0800
MSVC Projects: Fix build
We now need to pass in GSV_API_VERSION as part of the macros.
win32/vs10/gtksourceview4-build-defines.props | 2 +-
win32/vs9/gtksourceview4-build-defines.vsprops | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/win32/vs10/gtksourceview4-build-defines.props b/win32/vs10/gtksourceview4-build-defines.props
index 5cf2b461..f083aa28 100644
--- a/win32/vs10/gtksourceview4-build-defines.props
+++ b/win32/vs10/gtksourceview4-build-defines.props
@@ -4,7 +4,7 @@
<Import Project="gtksourceview4-version-paths.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
- <GtkSourceBuildDefines>G_LOG_DOMAIN="GtkSourceView";GTK_SOURCE_COMPILATION</GtkSourceBuildDefines>
+
<GtkSourceBuildDefines>G_LOG_DOMAIN="GtkSourceView";GTK_SOURCE_COMPILATION;GSV_API_VERSION="$(GtkSourceviewMajorVersion)"</GtkSourceBuildDefines>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>gtksourceview4builddefinesprops</_PropertySheetDisplayName>
diff --git a/win32/vs9/gtksourceview4-build-defines.vsprops b/win32/vs9/gtksourceview4-build-defines.vsprops
index 7df4c01c..0f6c7ea9 100644
--- a/win32/vs9/gtksourceview4-build-defines.vsprops
+++ b/win32/vs9/gtksourceview4-build-defines.vsprops
@@ -21,6 +21,6 @@
/>
<UserMacro
Name="GtkSourceBuildDefines"
- Value="G_LOG_DOMAIN=\"GtkSourceView\";GTK_SOURCE_COMPILATION"
+
Value="G_LOG_DOMAIN=\"GtkSourceView\";GTK_SOURCE_COMPILATION;GSV_API_VERSION=\"$(GtkSourceviewMajorVersion)\""
/>
</VisualStudioPropertySheet>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]