[gobject-introspection] build/win32/gengir.bat: Process the bundled .gir files
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] build/win32/gengir.bat: Process the bundled .gir files
- Date: Mon, 21 Jan 2013 06:04:31 +0000 (UTC)
commit 14046eff3dae1bf69e1b88feed8be83622c8bcfd
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Jan 21 14:04:24 2013 +0800
build/win32/gengir.bat: Process the bundled .gir files
This will compile the .typelib files for FreeType, GL and libxml2, and
copy the these .gir and their resulting .typelib files to the appropriate
folder to prepare for the "install" phase.
Note that the ones that aren't normally used in Windows are not processed.
build/win32/gengir.bat | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/build/win32/gengir.bat b/build/win32/gengir.bat
index ee61da3..70c5b85 100644
--- a/build/win32/gengir.bat
+++ b/build/win32/gengir.bat
@@ -256,12 +256,24 @@ g-ir-compiler --includedir=. --debug --verbose GObject-2.0.gir -o GObject-2.0.ty
g-ir-compiler --includedir=. --debug --verbose Gio-2.0.gir -o Gio-2.0.typelib
g-ir-compiler --includedir=. --debug --verbose GIRepository-2.0.gir -o GIRepository-2.0.typelib
+rem Now process the bundled .gir files
+set CURRDIR=%CD%
+cd ..\..\gir
+g-ir-compiler --includedir=. --debug --verbose freetype2-2.0.gir -o freetype2-2.0.typelib
+g-ir-compiler --includedir=. --debug --verbose GL-1.0.gir -o GL-1.0.typelib
+g-ir-compiler --includedir=. --debug --verbose libxml2-2.0.gir -o libxml2-2.0.typelib
+cd %CURRDIR%
+
rem Copy the generated .girs and .typelibs to their appropriate places
mkdir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\share\gir-1.0
move /y *.gir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\share\gir-1.0\
+copy /y ..\..\gir\freetype2-2.0.gir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\share\gir-1.0\
+copy /y ..\..\gir\GL-1.0.gir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\share\gir-1.0\
+copy /y ..\..\gir\libxml2-2.0.gir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\share\gir-1.0\
mkdir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\lib\girepository-1.0
move /y *.typelib ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\lib\girepository-1.0\
+move /y ..\..\gir\*.typelib ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\lib\girepository-1.0\
:DONE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]