[json-glib] MSVC Builds: Update Introspection Build Process
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [json-glib] MSVC Builds: Update Introspection Build Process
- Date: Tue, 25 Feb 2014 05:09:43 +0000 (UTC)
commit a4d731db0780a87304c98be412d72d615b277592
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Feb 25 13:09:32 2014 +0800
MSVC Builds: Update Introspection Build Process
GObject-Introspection was recently changed to support acquiring the name of
the DLL from a library (.lib, etc) that was passed into g-ir-scanner on
Windows, like the *nix builds, instead of directly passing in the name of
the DLL.
This updates the introspection build process, so that introspection files
for JSON-GLib can continue to be properly built.
build/win32/json-glib-introspection-msvc.mak | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/build/win32/json-glib-introspection-msvc.mak b/build/win32/json-glib-introspection-msvc.mak
index f638272..9089e28 100644
--- a/build/win32/json-glib-introspection-msvc.mak
+++ b/build/win32/json-glib-introspection-msvc.mak
@@ -1,9 +1,4 @@
-# NMake Makefile to build Introspection Files for ATK
-
-# Change or pass in as a variable/env var if needed
-JSONGLIB_DLLNAME = json-glib-1-vs$(VSVER)
-
-# Please do not change anything after this line
+# NMake Makefile to build Introspection Files for JSON-GLib
!include detectenv_msvc.mak
@@ -37,7 +32,7 @@ Json-$(APIVERSION).gir: json_list vs$(VSVER)\$(CFG)\$(PLAT)\bin\Json-$(APIVERSIO
-I$(BASEDIR)\include\glib-2.0 -I$(BASEDIR)\lib\glib-2.0\include \
--namespace=Json --nsversion=$(APIVERSION) \
--include=GObject-2.0 --include=Gio-2.0 \
- --no-libtool --library=$(JSONGLIB_DLLNAME) \
+ --no-libtool --library=json-glib-1.0 \
--reparse-validate --add-include-path=$(BASEDIR)\share\gir-1.0 --add-include-path=. \
--warn-all --pkg-export json-glib-$(APIVERSION) --c-include "json-glib/json-glib.h" \
-DJSON_COMPILATION=1 -DG_LOG_DOMAIN=\"Json\" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]