gi_msvc_build_utils.py \
gi-setenv-msvc.mak \
gi-tests-msvc.mak \
+ gipc.py \
introspection-msvc.mak \
+ pc_base.py \
replace.py
gi_msvc_build_utils.py \
gi-setenv-msvc.mak \
gi-tests-msvc.mak \
+ gipc.py \
introspection-msvc.mak \
+ pc_base.py \
replace.py
all: all-recursive
!endif
VALID_CFGSET = FALSE
-!if "$(CFG)" == "release" || "$(CFG)" == "debug"
+!if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
VALID_CFGSET = TRUE
!endif
# using .pdb files for release builds
CFLAGS_BASE = /Zi
-!if "$(CFG)" == "release"
+!if "$(CFG)" == "release" || "$(CFG)" == "Release"
CFLAGS_ADD = /MD /O2 $(CFLAGS_BASE)
!else
CFLAGS_ADD = /MDd /Od $(CFLAGS_BASE)
!include introspection-msvc.mak
BINDIR = vs$(VSVER)\$(CFG)\$(PLAT)\bin
-G_IR_SCANNER_CURRENT = ..\..\tools\g-ir-scanner
-G_IR_DOC_TOOL_CURRENT = ..\..\tools\g-ir-doc-tool
-G_IR_COMPILER_CURRENT = $(BINDIR)\g-ir-compiler.exe
TOP_SRCDIR = ..\..
+
+G_IR_SCANNER_CURRENT = $(TOP_SRCDIR)\tools\g-ir-scanner
+G_IR_DOC_TOOL_CURRENT = $(TOP_SRCDIR)\tools\g-ir-doc-tool
+G_IR_COMPILER_CURRENT = $(BINDIR)\g-ir-compiler.exe
# Please do not change anything after this line
setgirbuildenv:
- @set UNINSTALLED_INTROSPECTION_SRCDIR=..\..
- @set UNINSTALLED_INTROSPECTION_BUILDDIR=..\..
- @set PYTHONPATH=..\..;$(BINDIR)
+ @set UNINSTALLED_INTROSPECTION_SRCDIR=$(TOP_SRCDIR)
+ @set UNINSTALLED_INTROSPECTION_BUILDDIR=$(TOP_SRCDIR)
+ @set PYTHONPATH=$(TOP_SRCDIR);$(BINDIR)
@set PATH=$(BINDIR);$(PREFIX)\bin;$(PATH)
@set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)
@set LIB=win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(PREFIX)\lib;$(LIB)
--- /dev/null
+#!/usr/bin/python
+#
+# Utility script to generate .pc files for GLib
+# for Visual Studio builds, to be used for
+# building introspection files
+
+# Author: Fan, Chun-wei
+# Date: March 10, 2016
+
+import os
+import sys
+
+from replace import replace_multi
+from pc_base import BasePCItems
+
+def main(argv):
+ base_pc = BasePCItems()
+
+ base_pc.setup(argv)
+ pkg_replace_items = {'@bindir@': '${exec_prefix}/bin',
+ '@datarootdir@': '${exec_prefix}/share',
+ '@datadir@': '${datarootdir}',
+ '@EXEEXT@': '.exe',
+ '@FFI_PC_CFLAGS@': '',
+ '@FFI_PC_PACKAGES@': '',
+ '@FFI_PC_LIBS@': '',
+ '${bindir}/g-ir-scanner': 'python ${bindir}/g-ir-scanner'}
+
+ pkg_replace_items.update(base_pc.base_replace_items)
+
+ # Generate gobject-introspection-1.0.pc
+ replace_multi(base_pc.top_srcdir + '/gobject-introspection-1.0.pc.in',
+ base_pc.srcdir + '/gobject-introspection-1.0.pc',
+ pkg_replace_items)
+
+ # Generate gobject-introspection-no-export-1.0.pc
+ replace_multi(base_pc.top_srcdir + '/gobject-introspection-no-export-1.0.pc.in',
+ base_pc.srcdir + '/gobject-introspection-no-export-1.0.pc',
+ pkg_replace_items)
+
+if __name__ == '__main__':
+ sys.exit(main(sys.argv))
!endif
VALID_CFGSET = FALSE
-!if "$(CFG)" == "release" || "$(CFG)" == "debug"
+!if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
VALID_CFGSET = TRUE
!endif
--- /dev/null
+#!/usr/bin/python
+#
+# Simple utility script to generate the basic info
+# needed in a .pc (pkg-config) file, used especially
+# for introspection purposes
+
+# This can be used in various projects where
+# there is the need to generate .pc files,
+# and is copied from GLib's $(srcroot)/build/win32
+
+# Author: Fan, Chun-wei
+# Date: March 10, 2016
+
+import os
+import sys
+import argparse
+
+class BasePCItems:
+ def __init__(self):
+ self.base_replace_items = {}
+ self.exec_prefix = ''
+ self.includedir = ''
+ self.libdir = ''
+ self.prefix = ''
+ self.srcdir = os.path.dirname(__file__)
+ self.top_srcdir = self.srcdir + '\\..\\..'
+ self.version = ''
+
+ def setup(self, argv):
+ parser = argparse.ArgumentParser(description='Setup basic .pc file info')
+ parser.add_argument('--prefix', help='prefix of the installed library',
+ required=True)
+ parser.add_argument('--exec-prefix',
+ help='prefix of the installed programs, \
+ if different from the prefix')
+ parser.add_argument('--includedir',
+ help='includedir of the installed library, \
+ if different from ${prefix}/include')
+ parser.add_argument('--libdir',
+ help='libdir of the installed library, \
+ if different from ${prefix}/lib')
+ parser.add_argument('--version', help='Version of the package',
+ required=True)
+ args = parser.parse_args()
+
+ self.version = args.version
+
+ # check whether the prefix and exec_prefix are valid
+ if not os.path.exists(args.prefix):
+ raise SystemExit('Specified prefix \'%s\' is invalid' % args.prefix)
+
+ # check and setup the exec_prefix
+ if getattr(args, 'exec_prefix', None) is None:
+ input_exec_prefix = args.prefix
+ else:
+ input_exec_prefix = args.exec_prefix
+ if not os.path.exists(input_exec_prefix):
+ raise SystemExit('Specified exec-prefix \'%s\' is invalid' %
+ input_exec_prefix)
+
+
+ # check and setup the includedir
+ if getattr(args, 'includedir', None) is None:
+ self.includedir = '${prefix}/include'
+ else:
+ if args.includedir.startswith('${prefix}'):
+ includedir_use_shorthand = True
+ input_includedir = args.prefix + args.includedir[len('${prefix}'):]
+ else:
+ includedir_use_shorthand = False
+ input_includedir = args.includedir
+ if not os.path.exists(input_includedir):
+ raise SystemExit('Specified includedir \'%s\' is invalid' %
+ args.includedir)
+ if includedir_use_shorthand is True:
+ self.includedir = args.includedir.replace('\\','/')
+ else:
+ self.includedir = os.path.abspath(input_includedir).replace('\\','/')
+
+ # check and setup the libdir
+ if getattr(args, 'libdir', None) is None:
+ self.libdir = '${prefix}/lib'
+ else:
+ if args.libdir.startswith('${prefix}'):
+ libdir_use_shorthand = True
+ input_libdir = args.prefix + args.libdir[len('${prefix}'):]
+ else:
+ libdir_use_shorthand = False
+ input_libdir = args.libdir
+ if not os.path.exists(input_libdir):
+ raise SystemExit('Specified libdir \'%s\' is invalid' %
+ args.libdir)
+ if libdir_use_shorthand is True:
+ self.libdir = args.libdir.replace('\\','/')
+ else:
+ self.libdir = os.path.abspath(input_libdir).replace('\\','/')
+
+ # use absolute paths for prefix and exec_prefix
+ self.prefix = os.path.abspath(args.prefix).replace('\\','/')
+ self.exec_prefix = os.path.abspath(input_exec_prefix).replace('\\','/')
+
+ # setup dictionary for replacing items in *.pc.in
+ self.base_replace_items.update({'@VERSION@': self.version})
+ self.base_replace_items.update({'@prefix@': self.prefix})
+ self.base_replace_items.update({'@exec_prefix@': self.exec_prefix})
+ self.base_replace_items.update({'@libdir@': self.libdir})
+ self.base_replace_items.update({'@includedir@': self.includedir})
EXTRA_DIST = \
gobject-introspection.sln \
gi-build-defines.props \
- gi-extra-paths.props \
gi-gen-srcs.props \
gi-install.propsin \
gi-version-paths.props \
_giscanner.vcxproj \
_giscanner.vcxproj.filters \
gi-install.vcxproj \
+ gi-install.vcxproj.filters \
+ gi-introspect.vcxproj \
README.txt \
$(GENERATED_ITEMS)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_FILES = gi-version-paths.props
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
-am__DIST_COMMON = $(srcdir)/Makefile.in
+am__DIST_COMMON = $(srcdir)/Makefile.in \
+ $(srcdir)/gi-version-paths.props.in
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
EXTRA_DIST = \
gobject-introspection.sln \
gi-build-defines.props \
- gi-extra-paths.props \
gi-gen-srcs.props \
gi-install.propsin \
gi-version-paths.props \
_giscanner.vcxproj \
_giscanner.vcxproj.filters \
gi-install.vcxproj \
+ gi-install.vcxproj.filters \
+ gi-introspect.vcxproj \
README.txt \
$(GENERATED_ITEMS)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
+gi-version-paths.props: $(top_builddir)/config.status $(srcdir)/gi-version-paths.props.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
mostlyclean-libtool:
-rm -f *.lo
http://www.gtk.org/download/win64.php [64-bit]\r
\r
*** Note! ***\r
-Please note that due to numerous possible configurations on Python, PKG_CONFIG_PATH,\r
-the build of G-I is now a 2-step process: one with the Visual Studio Projects that\r
-will build the libraries, tools, Python Module and test DLLs (except for the everything\r
-test), and the other one with NMake Makefiles for building the introspection files.\r
-Please note that if one needs to change the installation location\r
-of Python, one needs to change the values of PythonDir (for x86/Win32 builds) and/or\r
-PythonDirX64 (for x64 builds) in gi-extra-paths.props\r
+The build of G-I is now done within the project files, although it is still possible to\r
+do it in two stages by using the NMake Makefiles after building the projects.\r
+\r
+As there are numerous possible configurations on Python and PKG_CONFIG_PATH, note that:\r
+-For both methods PKG_CONFIG_PATH is by default $(PREFIX)\lib\pkgconfig, where $(PREFIX)\r
+ is by default <parent_dir_of_G-I_srcroot>\vs10\<PlatformName>. If searching from\r
+ more directories is desired, set the PKG_CONFIG_PATH environment variable before using\r
+ the NMake Makefile or opening the projects, but note that $(PREFIX)\lib\pkgconfig will\r
+ precede the set paths.\r
+-For the Python Path using the project files: check whether the directory settings in\r
+ gi-version-paths.vsprops under PythonDir (32-bit) or PythonDirX64 (x64) is correct.\r
+ If the projects have been loaded by Visual Studio, close the projects and re-open them.\r
+ You may need to delete all the *.suo, *.user and *.ncb files in this directory for\r
+ the changes to take effect.\r
+-For the Python Path using the NMake Makefiles: pass in PYTHON=<full_path_to_python> to\r
+ the NMake Makefile or set it in the environment. The bit-ness of your Python installation\r
+ must match the configuration that you are building for.\r
\r
The use of Visual Studio Projects will no longer require the setting of environmental\r
variables, but the following environmental variables are needed (either by using "set xxx=yyy"\r
or by nmake -f gi-introspection-msvc.mak xxx=yyy) for building the introspection files (which\r
should be done after successfully building the Project Files):\r
\r
-PYTHON: Full path to your Python 2.7.x/3.3.x+ interpretor (python.exe) if it is\r
- not in your PATH. Please note that only 2.7.x and 3.3.x and later works.\r
- You need to use an x64/amd64 version of Python for x64 builds, and a Win32/x86\r
- version of Python for Win32/x86 builds\r
-PKG_CONFIG_PATH: Location of the .pc (pkg-config) files, especially for the GLib .pc files.\r
-\r
Please see $(srcroot)\build\win32\gi-introspection-msvc.mak for more details. Doing\r
"nmake -f gi-introspection-msvc.mak (options omitted)" will build the various introspection files,\r
and "nmake -f gi-introspection-msvc.mak (options omitted) install-introspection" will copy the introspection\r
-files to <root>\vs10\<PlatformName>\share\gir-1.0 (.gir files) and\r
-<root>\vs10\<PlatformName>\lib\girepository-1.0 (.typelib files)\r
+files to <root>\vs10\<PlatformName>\share\gir-1.0 (.gir files) and <root>\vs10\<PlatformName>\lib\girepository-1.0\r
+(.typelib files)\r
\r
*** End of Note! ***\r
\r
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<PropertyGroup Label="UserMacros">
<FFIDefines>FFI_BUILDING</FFIDefines>
<GIRepositoryBuildDefines>G_IREPOSITORY_COMPILATION;$(FFIDefines);DLL_EXPORT</GIRepositoryBuildDefines>
+ <GIIntrospectNMakeCmd>cd ..
+set VCInstallDir=$(VCInstallDir)
+nmake -f gi-introspection-msvc.mak CFG=$(Configuration) PREFIX=$(GlibEtcInstallRoot)</GIIntrospectNMakeCmd>
+ <GIIntrospectBuiltFiles>$(SolutionDir)\..\GLib-2.0.gir;$(SolutionDir)\..\GObject-2.0.gir;$(SolutionDir)\..\GModule-2.0.gir;$(SolutionDir)\..\Gio-2.0.gir;$(SolutionDir)\..\GIRepository-2.0.gir;$(SolutionDir)\..\cairo-1.0.gir;$(SolutionDir)\..\win32-1.0.gir;$(SolutionDir)\..\fontconfig-2.0.gir;$(SolutionDir)\..\freetype-2.0.gir;$(SolutionDir)\..\libxml2-2.0.gir;$(SolutionDir)\..\GL-1.0.gir;$(SolutionDir)\..\GLib-2.0.typelib;$(SolutionDir)\..\GObject-2.0.typelib;$(SolutionDir)\..\GModule-2.0.typelib;$(SolutionDir)\..\Gio-2.0.typelib;$(SolutionDir)\..\GIRepository-2.0.typelib;$(SolutionDir)\..\cairo-1.0.typelib;$(SolutionDir)\..\win32-1.0.typelib;$(SolutionDir)\..\fontconfig-2.0.typelib;$(SolutionDir)\..\freetype-2.0.typelib;$(SolutionDir)\..\libxml2-2.0.typelib;$(SolutionDir)\..\GL-1.0.typelib</GIIntrospectBuiltFiles>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>gibuilddefinesprops</_PropertySheetDisplayName>
<BuildMacro Include="GIRepositoryBuildDefines">
<Value>$(GIRepositoryBuildDefines)</Value>
</BuildMacro>
+ <BuildMacro Include="GIIntrospectNMakeCmd">
+ <Value>$(GIIntrospectNMakeCmd)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIIntrospectBuiltFiles">
+ <Value>$(GIIntrospectBuiltFiles)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ImportGroup Label="PropertySheets">
- <Import Project="gi-build-defines.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros">
- <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
- <PythonDir>c:\\python34</PythonDir>
- <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
- <PythonDirX64>$(PythonDir).x64</PythonDirX64>
- </PropertyGroup>
- <PropertyGroup>
- <_PropertySheetDisplayName>giextrapathsprops</_PropertySheetDisplayName>
- </PropertyGroup>
- <ItemGroup>
- <BuildMacro Include="PythonDir">
- <Value>$(PythonDir)</Value>
- </BuildMacro>
- <BuildMacro Include="PythonDirX64">
- <Value>$(PythonDirX64)</Value>
- </BuildMacro>
- </ItemGroup>
-</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
<CopyConfigH>copy ..\..\..\config.h.win32 ..\..\..\config.h</CopyConfigH>
copy ..\..\..\tests\scanner\regress.h $(CopyDir)\share\gobject-introspection-1.0\tests
copy $(BinDir)\_giscanner.pyd $(CopyDir)\lib\gobject-introspection\giscanner
copy $(BinDir)\_giscanner.pdb $(CopyDir)\lib\gobject-introspection\giscanner
-mkdir $(CopyDir)\share\gir-$(ApiVersion)
mkdir $(CopyDir)\share\gobject-introspection-$(ApiVersion)
copy ..\..\..\girepository\gdump.c $(CopyDir)\share\gobject-introspection-$(ApiVersion)
+mkdir $(CopyDir)\lib
+copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\girepository-$(ApiVersion).lib $(CopyDir)\lib
+mkdir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\cairo-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\fontconfig-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\freetype2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\Gio-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GIRepository-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GL-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GLib-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GModule-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GObject-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\libxml2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\win32-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
mkdir $(CopyDir)\lib\girepository-$(ApiVersion)
-copy $(BinDir)\girepository-$(ApiVersion).lib $(CopyDir)\lib
-echo Please note that building GObject-Introspection with Visual Studio is now a 2-step process
-echo Please open the appropriate Visual Studio (or Windows SDK) command prompt and use the NMake Makefile
-echo in SRC_ROOT\build\win32\gi-introspection-msvc.mak to build the introspection files
-</GIDoInstall>
+copy ..\cairo-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\fontconfig-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\freetype2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\Gio-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GIRepository-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GL-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GLib-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GModule-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GObject-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\libxml2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\win32-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+mkdir $(CopyDir)\lib\pkgconfig
+copy ..\gobject-introspection-1.0.pc $(CopyDir)\lib\pkgconfig
+copy ..\gobject-introspection-no-export-1.0.pc $(CopyDir)\lib\pkgconfig
+ </GIDoInstall>
+ <GIPCFiles>..\gobject-introspection-1.0.pc;..\gobject-introspection-no-export-1.0.pc</GIPCFiles>
+ <GIGenPC>$(PythonDir)\python.exe ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)</GIGenPC>
+ <GIGenPCX64>$(PythonDirX64)\python.exe ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)</GIGenPCX64>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>giinstallprops</_PropertySheetDisplayName>
<BuildMacro Include="GIDoInstall">
<Value>$(GIDoInstall)</Value>
</BuildMacro>
+ <BuildMacro Include="GIPCFiles">
+ <Value>$(GIPCFiles)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIGenPC">
+ <Value>$(GIGenPC)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIGenPCX64">
+ <Value>$(GIGenPCX64)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
copy $(BinDir)\_giscanner.pyd $(CopyDir)\lib\gobject-introspection\giscanner
copy $(BinDir)\_giscanner.pdb $(CopyDir)\lib\gobject-introspection\giscanner
-mkdir $(CopyDir)\share\gir-$(ApiVersion)
mkdir $(CopyDir)\share\gobject-introspection-$(ApiVersion)
+
copy ..\..\..\girepository\gdump.c $(CopyDir)\share\gobject-introspection-$(ApiVersion)
+mkdir $(CopyDir)\lib
+
+copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\girepository-$(ApiVersion).lib $(CopyDir)\lib
+
+mkdir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\cairo-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\fontconfig-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\freetype2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\Gio-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GIRepository-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GL-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GLib-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GModule-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GObject-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\libxml2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\win32-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+
mkdir $(CopyDir)\lib\girepository-$(ApiVersion)
-copy $(BinDir)\girepository-$(ApiVersion).lib $(CopyDir)\lib
+copy ..\cairo-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\fontconfig-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\freetype2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\Gio-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GIRepository-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GL-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GLib-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GModule-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GObject-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\libxml2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\win32-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
-echo Please note that building GObject-Introspection with Visual Studio is now a 2-step process
-echo Please open the appropriate Visual Studio (or Windows SDK) command prompt and use the NMake Makefile
-echo in SRC_ROOT\build\win32\gi-introspection-msvc.mak to build the introspection files
-</GIDoInstall>
+mkdir $(CopyDir)\lib\pkgconfig
+copy ..\gobject-introspection-1.0.pc $(CopyDir)\lib\pkgconfig
+copy ..\gobject-introspection-no-export-1.0.pc $(CopyDir)\lib\pkgconfig
+ </GIDoInstall>
+ <GIPCFiles>..\gobject-introspection-1.0.pc;..\gobject-introspection-no-export-1.0.pc</GIPCFiles>
+ <GIGenPC>$(PythonDir)\python.exe ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)</GIGenPC>
+ <GIGenPCX64>$(PythonDirX64)\python.exe ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)</GIGenPCX64>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>giinstallprops</_PropertySheetDisplayName>
<BuildMacro Include="GIDoInstall">
<Value>$(GIDoInstall)</Value>
</BuildMacro>
+ <BuildMacro Include="GIPCFiles">
+ <Value>$(GIPCFiles)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIGenPC">
+ <Value>$(GIGenPC)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIGenPCX64">
+ <Value>$(GIGenPCX64)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
<ItemGroup>
<CustomBuild Include="..\..\..\config.h.win32">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">some_random_file;%(Outputs)</Outputs>
</CustomBuild>
+ <CustomBuild Include="..\gipc.py">
+ <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIGenPC)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIGenPCX64)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIGenPC)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIGenPCX64)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIPCFiles);%(Outputs)</Outputs>
+ </CustomBuild>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="g-ir-compiler.vcxproj">
<Project>{8311394f-9114-4c97-80f2-51bcaba054c9}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
+ <ProjectReference Include="gi-introspect.vcxproj">
+ <Project>{7a36674c-379d-4989-a978-07124e5f852c}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <CustomBuild Include="..\..\..\config.h.win32"><Filter>Resource Files</Filter></CustomBuild>
+ <CustomBuild Include="..\gipc.py"><Filter>Resource Files</Filter></CustomBuild>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <ItemGroup Label="ProjectConfigurations">\r
+ <ProjectConfiguration Include="Debug|Win32">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|Win32">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Debug|x64">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>x64</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|x64">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>x64</Platform>\r
+ </ProjectConfiguration>\r
+ </ItemGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{7A36674C-379D-4989-A978-07124E5F852C}</ProjectGuid>\r
+ <RootNamespace>giintrospect</RootNamespace>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <UseDebugLibraries>true</UseDebugLibraries>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v100</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <UseDebugLibraries>false</UseDebugLibraries>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v100</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v100</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <PlatformToolset>v100</PlatformToolset>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <ImportGroup Label="ExtensionSettings">\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <PropertyGroup Label="UserMacros" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <ItemGroup>\r
+ <ProjectReference Include="g-ir-compiler.vcxproj">\r
+ <Project>{5dcb55ce-f32c-4c77-8bf4-b4dad3ec7774}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="g-ir-generate.vcxproj">\r
+ <Project>{f4e6621f-a7dd-4863-8ccf-ba04dfc601e3}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="girepository.vcxproj">\r
+ <Project>{23e28245-8fc7-4b41-b1c5-8785bd4366a7}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="_giscanner.vcxproj">\r
+ <Project>{8311394f-9114-4c97-80f2-51bcaba054c9}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+ <ImportGroup Label="ExtensionTargets">\r
+ </ImportGroup>\r
+</Project>
\ No newline at end of file
<PropertyGroup Label="UserMacros">
<VSVer>10</VSVer>
<GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
- <BASE_GI_DIR>$(SolutionDir)\..\..\..</BASE_GI_DIR>
<CopyDir>$(GlibEtcInstallRoot)</CopyDir>
+ <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
+ <PythonDir>c:\\python34</PythonDir>
+ <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
+ <PythonDirX64>$(PythonDir).x64</PythonDirX64>
+ <IntrospectPythonParam>PYTHON=$(PythonDir)\python.exe</IntrospectPythonParam>
+ <IntrospectPythonParamX64>PYTHON=$(PythonDirX64)\python.exe</IntrospectPythonParamX64>
+ <GIVersion>1.48.0</GIVersion>
+ <BASE_GI_DIR>$(SolutionDir)\..\..\..</BASE_GI_DIR>
<ApiVersion>1.0</ApiVersion>
<DefDir>$(SolutionDir)$(Configuration)\$(Platform)\obj\$(ProjectName)</DefDir>
<LibGILibtoolCompatibleDllPrefix>lib</LibGILibtoolCompatibleDllPrefix>
<BuildMacro Include="GlibEtcInstallRoot">
<Value>$(GlibEtcInstallRoot)</Value>
</BuildMacro>
- <BuildMacro Include="BASE_GI_DIR">
- <Value>$(BASE_GI_DIR)</Value>
- </BuildMacro>
<BuildMacro Include="CopyDir">
<Value>$(CopyDir)</Value>
</BuildMacro>
+ <BuildMacro Include="PythonDir">
+ <Value>$(PythonDir)</Value>
+ </BuildMacro>
+ <BuildMacro Include="PythonDirX64">
+ <Value>$(PythonDirX64)</Value>
+ </BuildMacro>
+ <BuildMacro Include="IntrospectPythonParam">
+ <Value>$(IntrospectPythonParam)</Value>
+ </BuildMacro>
+ <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>
<BuildMacro Include="ApiVersion">
<Value>$(ApiVersion)</Value>
</BuildMacro>
- <BuildMacro Include="DefDir">
- <Value>$(DefDir)</Value>
- </BuildMacro>
<BuildMacro Include="LibGILibtoolCompatibleDllPrefix">
<Value>$(LibGILibtoolCompatibleDllPrefix)</Value>
</BuildMacro>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="UserMacros">
+ <VSVer>10</VSVer>
+ <GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
+ <CopyDir>$(GlibEtcInstallRoot)</CopyDir>
+ <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
+ <PythonDir>c:\\python34</PythonDir>
+ <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
+ <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>
+ <LibGILibtoolCompatibleDllPrefix>lib</LibGILibtoolCompatibleDllPrefix>
+ <LibGILibtoolCompatibleDllSuffix>-$(ApiVersion)-0</LibGILibtoolCompatibleDllSuffix>
+ <LibGISeparateVSDllPrefix />
+ <LibGISeparateVSDllSuffix>-1-vs$(VSVer)</LibGISeparateVSDllSuffix>
+ <LibGIDllPrefix>$(LibGISeparateVSDllPrefix)</LibGIDllPrefix>
+ <LibGIDllSuffix>$(LibGISeparateVSDllSuffix)</LibGIDllSuffix>
+ </PropertyGroup>
+ <PropertyGroup>
+ <_PropertySheetDisplayName>giversionpathsprops</_PropertySheetDisplayName>
+ </PropertyGroup>
+ <ItemGroup>
+ <BuildMacro Include="VSVer">
+ <Value>$(VSVer)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GlibEtcInstallRoot">
+ <Value>$(GlibEtcInstallRoot)</Value>
+ </BuildMacro>
+ <BuildMacro Include="CopyDir">
+ <Value>$(CopyDir)</Value>
+ </BuildMacro>
+ <BuildMacro Include="PythonDir">
+ <Value>$(PythonDir)</Value>
+ </BuildMacro>
+ <BuildMacro Include="PythonDirX64">
+ <Value>$(PythonDirX64)</Value>
+ </BuildMacro>
+ <BuildMacro Include="IntrospectPythonParam">
+ <Value>$(IntrospectPythonParam)</Value>
+ </BuildMacro>
+ <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>
+ <BuildMacro Include="ApiVersion">
+ <Value>$(ApiVersion)</Value>
+ </BuildMacro>
+ <BuildMacro Include="LibGILibtoolCompatibleDllPrefix">
+ <Value>$(LibGILibtoolCompatibleDllPrefix)</Value>
+ </BuildMacro>
+ <BuildMacro Include="LibGILibtoolCompatibleDllSuffix">
+ <Value>$(LibGILibtoolCompatibleDllSuffix)</Value>
+ </BuildMacro>
+ <BuildMacro Include="LibGISeparateVSDllPrefix">
+ <Value>$(LibGISeparateVSDllPrefix)</Value>
+ </BuildMacro>
+ <BuildMacro Include="LibGISeparateVSDllSuffix">
+ <Value>$(LibGISeparateVSDllSuffix)</Value>
+ </BuildMacro>
+ <BuildMacro Include="LibGIDllPrefix">
+ <Value>$(LibGIDllPrefix)</Value>
+ </BuildMacro>
+ <BuildMacro Include="LibGIDllSuffix">
+ <Value>$(LibGIDllSuffix)</Value>
+ </BuildMacro>
+ </ItemGroup>
+</Project>
EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "g-ir-compiler", "g-ir-compiler.vcxproj", "{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}"\r
EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gi-introspect", "gi-introspect.vcxproj", "{7A36674C-379D-4989-A978-07124E5F852C}"\r
+EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gi-install", "gi-install.vcxproj", "{2093D218-190E-4194-9421-3BA7CBF33B10}"\r
EndProject\r
Global\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|Win32.Build.0 = Release|Win32\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|x64.ActiveCfg = Release|x64\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|x64.Build.0 = Release|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|Win32.ActiveCfg = Debug|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|Win32.Build.0 = Debug|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|x64.ActiveCfg = Debug|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|x64.Build.0 = Debug|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|Win32.ActiveCfg = Release|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|Win32.Build.0 = Release|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|x64.ActiveCfg = Release|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|x64.Build.0 = Release|x64\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|Win32.ActiveCfg = Debug|Win32\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|Win32.Build.0 = Debug|Win32\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|x64.ActiveCfg = Debug|x64\r
EXTRA_DIST = \
gobject-introspection.sln \
gi-build-defines.props \
- gi-extra-paths.props \
gi-gen-srcs.props \
gi-install.props \
gi-version-paths.props \
_giscanner.vcxproj \
_giscanner.vcxproj.filters \
gi-install.vcxproj \
+ gi-install.vcxproj.filters \
+ gi-introspect.vcxproj \
README.txt
DISTCLEANFILES = $(EXTRA_DIST)
EXTRA_DIST = \
gobject-introspection.sln \
gi-build-defines.props \
- gi-extra-paths.props \
gi-gen-srcs.props \
gi-install.props \
gi-version-paths.props \
_giscanner.vcxproj \
_giscanner.vcxproj.filters \
gi-install.vcxproj \
+ gi-install.vcxproj.filters \
+ gi-introspect.vcxproj \
README.txt
DISTCLEANFILES = $(EXTRA_DIST)
http://www.gtk.org/download/win64.php [64-bit]\r
\r
*** Note! ***\r
-Please note that due to numerous possible configurations on Python, PKG_CONFIG_PATH,\r
-the build of G-I is now a 2-step process: one with the Visual Studio Projects that\r
-will build the libraries, tools, Python Module and test DLLs (except for the everything\r
-test), and the other one with NMake Makefiles for building the introspection files.\r
-Please note that if one needs to change the installation location\r
-of Python, one needs to change the values of PythonDir (for x86/Win32 builds) and/or\r
-PythonDirX64 (for x64 builds) in gi-extra-paths.props\r
+The build of G-I is now done within the project files, although it is still possible to\r
+do it in two stages by using the NMake Makefiles after building the projects.\r
+\r
+As there are numerous possible configurations on Python and PKG_CONFIG_PATH, note that:\r
+-For both methods PKG_CONFIG_PATH is by default $(PREFIX)\lib\pkgconfig, where $(PREFIX)\r
+ is by default <parent_dir_of_G-I_srcroot>\vs11\<PlatformName>. If searching from\r
+ more directories is desired, set the PKG_CONFIG_PATH environment variable before using\r
+ the NMake Makefile or opening the projects, but note that $(PREFIX)\lib\pkgconfig will\r
+ precede the set paths.\r
+-For the Python Path using the project files: check whether the directory settings in\r
+ gi-version-paths.vsprops under PythonDir (32-bit) or PythonDirX64 (x64) is correct.\r
+ If the projects have been loaded by Visual Studio, close the projects and re-open them.\r
+ You may need to delete all the *.suo, *.user and *.ncb files in this directory for\r
+ the changes to take effect.\r
+-For the Python Path using the NMake Makefiles: pass in PYTHON=<full_path_to_python> to\r
+ the NMake Makefile or set it in the environment. The bit-ness of your Python installation\r
+ must match the configuration that you are building for.\r
\r
The use of Visual Studio Projects will no longer require the setting of environmental\r
variables, but the following environmental variables are needed (either by using "set xxx=yyy"\r
or by nmake -f gi-introspection-msvc.mak xxx=yyy) for building the introspection files (which\r
should be done after successfully building the Project Files):\r
\r
-PYTHON: Full path to your Python 2.7.x/3.3.x+ interpretor (python.exe) if it is\r
- not in your PATH. Please note that only 2.7.x and 3.3.x and later works.\r
- You need to use an x64/amd64 version of Python for x64 builds, and a Win32/x86\r
- version of Python for Win32/x86 builds\r
-PKG_CONFIG_PATH: Location of the .pc (pkg-config) files, especially for the GLib .pc files.\r
-\r
Please see $(srcroot)\build\win32\gi-introspection-msvc.mak for more details. Doing\r
"nmake -f gi-introspection-msvc.mak (options omitted)" will build the various introspection files,\r
and "nmake -f gi-introspection-msvc.mak (options omitted) install-introspection" will copy the introspection\r
-files to <root>\vs11\<PlatformName>\share\gir-1.0 (.gir files) and\r
-<root>\vs11\<PlatformName>\lib\girepository-1.0 (.typelib files)\r
+files to <root>\vs11\<PlatformName>\share\gir-1.0 (.gir files) and <root>\vs11\<PlatformName>\lib\girepository-1.0\r
+(.typelib files)\r
\r
*** End of Note! ***\r
\r
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<PropertyGroup Label="UserMacros">
<FFIDefines>FFI_BUILDING</FFIDefines>
<GIRepositoryBuildDefines>G_IREPOSITORY_COMPILATION;$(FFIDefines);DLL_EXPORT</GIRepositoryBuildDefines>
+ <GIIntrospectNMakeCmd>cd ..
+set VCInstallDir=$(VCInstallDir)
+nmake -f gi-introspection-msvc.mak CFG=$(Configuration) PREFIX=$(GlibEtcInstallRoot)</GIIntrospectNMakeCmd>
+ <GIIntrospectBuiltFiles>$(SolutionDir)\..\GLib-2.0.gir;$(SolutionDir)\..\GObject-2.0.gir;$(SolutionDir)\..\GModule-2.0.gir;$(SolutionDir)\..\Gio-2.0.gir;$(SolutionDir)\..\GIRepository-2.0.gir;$(SolutionDir)\..\cairo-1.0.gir;$(SolutionDir)\..\win32-1.0.gir;$(SolutionDir)\..\fontconfig-2.0.gir;$(SolutionDir)\..\freetype-2.0.gir;$(SolutionDir)\..\libxml2-2.0.gir;$(SolutionDir)\..\GL-1.0.gir;$(SolutionDir)\..\GLib-2.0.typelib;$(SolutionDir)\..\GObject-2.0.typelib;$(SolutionDir)\..\GModule-2.0.typelib;$(SolutionDir)\..\Gio-2.0.typelib;$(SolutionDir)\..\GIRepository-2.0.typelib;$(SolutionDir)\..\cairo-1.0.typelib;$(SolutionDir)\..\win32-1.0.typelib;$(SolutionDir)\..\fontconfig-2.0.typelib;$(SolutionDir)\..\freetype-2.0.typelib;$(SolutionDir)\..\libxml2-2.0.typelib;$(SolutionDir)\..\GL-1.0.typelib</GIIntrospectBuiltFiles>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>gibuilddefinesprops</_PropertySheetDisplayName>
<BuildMacro Include="GIRepositoryBuildDefines">
<Value>$(GIRepositoryBuildDefines)</Value>
</BuildMacro>
+ <BuildMacro Include="GIIntrospectNMakeCmd">
+ <Value>$(GIIntrospectNMakeCmd)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIIntrospectBuiltFiles">
+ <Value>$(GIIntrospectBuiltFiles)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ImportGroup Label="PropertySheets">
- <Import Project="gi-build-defines.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros">
- <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
- <PythonDir>c:\\python34</PythonDir>
- <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
- <PythonDirX64>$(PythonDir).x64</PythonDirX64>
- </PropertyGroup>
- <PropertyGroup>
- <_PropertySheetDisplayName>giextrapathsprops</_PropertySheetDisplayName>
- </PropertyGroup>
- <ItemGroup>
- <BuildMacro Include="PythonDir">
- <Value>$(PythonDir)</Value>
- </BuildMacro>
- <BuildMacro Include="PythonDirX64">
- <Value>$(PythonDirX64)</Value>
- </BuildMacro>
- </ItemGroup>
-</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
<CopyConfigH>copy ..\..\..\config.h.win32 ..\..\..\config.h</CopyConfigH>
copy ..\..\..\tests\scanner\regress.h $(CopyDir)\share\gobject-introspection-1.0\tests
copy $(BinDir)\_giscanner.pyd $(CopyDir)\lib\gobject-introspection\giscanner
copy $(BinDir)\_giscanner.pdb $(CopyDir)\lib\gobject-introspection\giscanner
-mkdir $(CopyDir)\share\gir-$(ApiVersion)
mkdir $(CopyDir)\share\gobject-introspection-$(ApiVersion)
copy ..\..\..\girepository\gdump.c $(CopyDir)\share\gobject-introspection-$(ApiVersion)
+mkdir $(CopyDir)\lib
+copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\girepository-$(ApiVersion).lib $(CopyDir)\lib
+mkdir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\cairo-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\fontconfig-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\freetype2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\Gio-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GIRepository-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GL-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GLib-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GModule-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GObject-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\libxml2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\win32-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
mkdir $(CopyDir)\lib\girepository-$(ApiVersion)
-copy $(BinDir)\girepository-$(ApiVersion).lib $(CopyDir)\lib
-echo Please note that building GObject-Introspection with Visual Studio is now a 2-step process
-echo Please open the appropriate Visual Studio (or Windows SDK) command prompt and use the NMake Makefile
-echo in SRC_ROOT\build\win32\gi-introspection-msvc.mak to build the introspection files
-</GIDoInstall>
+copy ..\cairo-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\fontconfig-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\freetype2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\Gio-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GIRepository-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GL-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GLib-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GModule-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GObject-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\libxml2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\win32-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+mkdir $(CopyDir)\lib\pkgconfig
+copy ..\gobject-introspection-1.0.pc $(CopyDir)\lib\pkgconfig
+copy ..\gobject-introspection-no-export-1.0.pc $(CopyDir)\lib\pkgconfig
+ </GIDoInstall>
+ <GIPCFiles>..\gobject-introspection-1.0.pc;..\gobject-introspection-no-export-1.0.pc</GIPCFiles>
+ <GIGenPC>$(PythonDir)\python.exe ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)</GIGenPC>
+ <GIGenPCX64>$(PythonDirX64)\python.exe ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)</GIGenPCX64>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>giinstallprops</_PropertySheetDisplayName>
<BuildMacro Include="GIDoInstall">
<Value>$(GIDoInstall)</Value>
</BuildMacro>
+ <BuildMacro Include="GIPCFiles">
+ <Value>$(GIPCFiles)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIGenPC">
+ <Value>$(GIGenPC)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIGenPCX64">
+ <Value>$(GIGenPCX64)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
<ItemGroup>
<CustomBuild Include="..\..\..\config.h.win32">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">some_random_file;%(Outputs)</Outputs>
</CustomBuild>
+ <CustomBuild Include="..\gipc.py">
+ <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIGenPC)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIGenPCX64)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIGenPC)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIGenPCX64)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIPCFiles);%(Outputs)</Outputs>
+ </CustomBuild>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="g-ir-compiler.vcxproj">
<Project>{8311394f-9114-4c97-80f2-51bcaba054c9}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
+ <ProjectReference Include="gi-introspect.vcxproj">
+ <Project>{7a36674c-379d-4989-a978-07124e5f852c}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <CustomBuild Include="..\..\..\config.h.win32"><Filter>Resource Files</Filter></CustomBuild>
+ <CustomBuild Include="..\gipc.py"><Filter>Resource Files</Filter></CustomBuild>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <ItemGroup Label="ProjectConfigurations">\r
+ <ProjectConfiguration Include="Debug|Win32">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|Win32">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Debug|x64">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>x64</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|x64">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>x64</Platform>\r
+ </ProjectConfiguration>\r
+ </ItemGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{7A36674C-379D-4989-A978-07124E5F852C}</ProjectGuid>\r
+ <RootNamespace>giintrospect</RootNamespace>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <UseDebugLibraries>true</UseDebugLibraries>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v110</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <UseDebugLibraries>false</UseDebugLibraries>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v110</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v110</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <PlatformToolset>v110</PlatformToolset>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <ImportGroup Label="ExtensionSettings">\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <PropertyGroup Label="UserMacros" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <ItemGroup>\r
+ <ProjectReference Include="g-ir-compiler.vcxproj">\r
+ <Project>{5dcb55ce-f32c-4c77-8bf4-b4dad3ec7774}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="g-ir-generate.vcxproj">\r
+ <Project>{f4e6621f-a7dd-4863-8ccf-ba04dfc601e3}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="girepository.vcxproj">\r
+ <Project>{23e28245-8fc7-4b41-b1c5-8785bd4366a7}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="_giscanner.vcxproj">\r
+ <Project>{8311394f-9114-4c97-80f2-51bcaba054c9}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+ <ImportGroup Label="ExtensionTargets">\r
+ </ImportGroup>\r
+</Project>
\ No newline at end of file
<PropertyGroup Label="UserMacros">
<VSVer>11</VSVer>
<GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
- <BASE_GI_DIR>$(SolutionDir)\..\..\..</BASE_GI_DIR>
<CopyDir>$(GlibEtcInstallRoot)</CopyDir>
+ <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
+ <PythonDir>c:\\python34</PythonDir>
+ <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
+ <PythonDirX64>$(PythonDir).x64</PythonDirX64>
+ <IntrospectPythonParam>PYTHON=$(PythonDir)\python.exe</IntrospectPythonParam>
+ <IntrospectPythonParamX64>PYTHON=$(PythonDirX64)\python.exe</IntrospectPythonParamX64>
+ <GIVersion>1.48.0</GIVersion>
+ <BASE_GI_DIR>$(SolutionDir)\..\..\..</BASE_GI_DIR>
<ApiVersion>1.0</ApiVersion>
<DefDir>$(SolutionDir)$(Configuration)\$(Platform)\obj\$(ProjectName)</DefDir>
<LibGILibtoolCompatibleDllPrefix>lib</LibGILibtoolCompatibleDllPrefix>
<BuildMacro Include="GlibEtcInstallRoot">
<Value>$(GlibEtcInstallRoot)</Value>
</BuildMacro>
- <BuildMacro Include="BASE_GI_DIR">
- <Value>$(BASE_GI_DIR)</Value>
- </BuildMacro>
<BuildMacro Include="CopyDir">
<Value>$(CopyDir)</Value>
</BuildMacro>
+ <BuildMacro Include="PythonDir">
+ <Value>$(PythonDir)</Value>
+ </BuildMacro>
+ <BuildMacro Include="PythonDirX64">
+ <Value>$(PythonDirX64)</Value>
+ </BuildMacro>
+ <BuildMacro Include="IntrospectPythonParam">
+ <Value>$(IntrospectPythonParam)</Value>
+ </BuildMacro>
+ <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>
<BuildMacro Include="ApiVersion">
<Value>$(ApiVersion)</Value>
</BuildMacro>
- <BuildMacro Include="DefDir">
- <Value>$(DefDir)</Value>
- </BuildMacro>
<BuildMacro Include="LibGILibtoolCompatibleDllPrefix">
<Value>$(LibGILibtoolCompatibleDllPrefix)</Value>
</BuildMacro>
EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "g-ir-compiler", "g-ir-compiler.vcxproj", "{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}"\r
EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gi-introspect", "gi-introspect.vcxproj", "{7A36674C-379D-4989-A978-07124E5F852C}"\r
+EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gi-install", "gi-install.vcxproj", "{2093D218-190E-4194-9421-3BA7CBF33B10}"\r
EndProject\r
Global\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|Win32.Build.0 = Release|Win32\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|x64.ActiveCfg = Release|x64\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|x64.Build.0 = Release|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|Win32.ActiveCfg = Debug|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|Win32.Build.0 = Debug|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|x64.ActiveCfg = Debug|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|x64.Build.0 = Debug|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|Win32.ActiveCfg = Release|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|Win32.Build.0 = Release|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|x64.ActiveCfg = Release|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|x64.Build.0 = Release|x64\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|Win32.ActiveCfg = Debug|Win32\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|Win32.Build.0 = Debug|Win32\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|x64.ActiveCfg = Debug|x64\r
EXTRA_DIST = \
gobject-introspection.sln \
gi-build-defines.props \
- gi-extra-paths.props \
gi-gen-srcs.props \
gi-install.props \
gi-version-paths.props \
_giscanner.vcxproj \
_giscanner.vcxproj.filters \
gi-install.vcxproj \
+ gi-install.vcxproj.filters \
+ gi-introspect.vcxproj \
README.txt
DISTCLEANFILES = $(EXTRA_DIST)
EXTRA_DIST = \
gobject-introspection.sln \
gi-build-defines.props \
- gi-extra-paths.props \
gi-gen-srcs.props \
gi-install.props \
gi-version-paths.props \
_giscanner.vcxproj \
_giscanner.vcxproj.filters \
gi-install.vcxproj \
+ gi-install.vcxproj.filters \
+ gi-introspect.vcxproj \
README.txt
DISTCLEANFILES = $(EXTRA_DIST)
http://www.gtk.org/download/win64.php [64-bit]\r
\r
*** Note! ***\r
-Please note that due to numerous possible configurations on Python, PKG_CONFIG_PATH,\r
-the build of G-I is now a 2-step process: one with the Visual Studio Projects that\r
-will build the libraries, tools, Python Module and test DLLs (except for the everything\r
-test), and the other one with NMake Makefiles for building the introspection files.\r
-Please note that if one needs to change the installation location\r
-of Python, one needs to change the values of PythonDir (for x86/Win32 builds) and/or\r
-PythonDirX64 (for x64 builds) in gi-extra-paths.props\r
+The build of G-I is now done within the project files, although it is still possible to\r
+do it in two stages by using the NMake Makefiles after building the projects.\r
+\r
+As there are numerous possible configurations on Python and PKG_CONFIG_PATH, note that:\r
+-For both methods PKG_CONFIG_PATH is by default $(PREFIX)\lib\pkgconfig, where $(PREFIX)\r
+ is by default <parent_dir_of_G-I_srcroot>\vs12\<PlatformName>. If searching from\r
+ more directories is desired, set the PKG_CONFIG_PATH environment variable before using\r
+ the NMake Makefile or opening the projects, but note that $(PREFIX)\lib\pkgconfig will\r
+ precede the set paths.\r
+-For the Python Path using the project files: check whether the directory settings in\r
+ gi-version-paths.vsprops under PythonDir (32-bit) or PythonDirX64 (x64) is correct.\r
+ If the projects have been loaded by Visual Studio, close the projects and re-open them.\r
+ You may need to delete all the *.suo, *.user and *.ncb files in this directory for\r
+ the changes to take effect.\r
+-For the Python Path using the NMake Makefiles: pass in PYTHON=<full_path_to_python> to\r
+ the NMake Makefile or set it in the environment. The bit-ness of your Python installation\r
+ must match the configuration that you are building for.\r
\r
The use of Visual Studio Projects will no longer require the setting of environmental\r
variables, but the following environmental variables are needed (either by using "set xxx=yyy"\r
or by nmake -f gi-introspection-msvc.mak xxx=yyy) for building the introspection files (which\r
should be done after successfully building the Project Files):\r
\r
-PYTHON: Full path to your Python 2.7.x/3.3.x+ interpretor (python.exe) if it is\r
- not in your PATH. Please note that only 2.7.x and 3.3.x and later works.\r
- You need to use an x64/amd64 version of Python for x64 builds, and a Win32/x86\r
- version of Python for Win32/x86 builds\r
-PKG_CONFIG_PATH: Location of the .pc (pkg-config) files, especially for the GLib .pc files.\r
-\r
Please see $(srcroot)\build\win32\gi-introspection-msvc.mak for more details. Doing\r
"nmake -f gi-introspection-msvc.mak (options omitted)" will build the various introspection files,\r
and "nmake -f gi-introspection-msvc.mak (options omitted) install-introspection" will copy the introspection\r
-files to <root>\vs12\<PlatformName>\share\gir-1.0 (.gir files) and\r
-<root>\vs12\<PlatformName>\lib\girepository-1.0 (.typelib files)\r
+files to <root>\vs12\<PlatformName>\share\gir-1.0 (.gir files) and <root>\vs12\<PlatformName>\lib\girepository-1.0\r
+(.typelib files)\r
\r
*** End of Note! ***\r
\r
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<PropertyGroup Label="UserMacros">
<FFIDefines>FFI_BUILDING</FFIDefines>
<GIRepositoryBuildDefines>G_IREPOSITORY_COMPILATION;$(FFIDefines);DLL_EXPORT</GIRepositoryBuildDefines>
+ <GIIntrospectNMakeCmd>cd ..
+set VCInstallDir=$(VCInstallDir)
+nmake -f gi-introspection-msvc.mak CFG=$(Configuration) PREFIX=$(GlibEtcInstallRoot)</GIIntrospectNMakeCmd>
+ <GIIntrospectBuiltFiles>$(SolutionDir)\..\GLib-2.0.gir;$(SolutionDir)\..\GObject-2.0.gir;$(SolutionDir)\..\GModule-2.0.gir;$(SolutionDir)\..\Gio-2.0.gir;$(SolutionDir)\..\GIRepository-2.0.gir;$(SolutionDir)\..\cairo-1.0.gir;$(SolutionDir)\..\win32-1.0.gir;$(SolutionDir)\..\fontconfig-2.0.gir;$(SolutionDir)\..\freetype-2.0.gir;$(SolutionDir)\..\libxml2-2.0.gir;$(SolutionDir)\..\GL-1.0.gir;$(SolutionDir)\..\GLib-2.0.typelib;$(SolutionDir)\..\GObject-2.0.typelib;$(SolutionDir)\..\GModule-2.0.typelib;$(SolutionDir)\..\Gio-2.0.typelib;$(SolutionDir)\..\GIRepository-2.0.typelib;$(SolutionDir)\..\cairo-1.0.typelib;$(SolutionDir)\..\win32-1.0.typelib;$(SolutionDir)\..\fontconfig-2.0.typelib;$(SolutionDir)\..\freetype-2.0.typelib;$(SolutionDir)\..\libxml2-2.0.typelib;$(SolutionDir)\..\GL-1.0.typelib</GIIntrospectBuiltFiles>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>gibuilddefinesprops</_PropertySheetDisplayName>
<BuildMacro Include="GIRepositoryBuildDefines">
<Value>$(GIRepositoryBuildDefines)</Value>
</BuildMacro>
+ <BuildMacro Include="GIIntrospectNMakeCmd">
+ <Value>$(GIIntrospectNMakeCmd)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIIntrospectBuiltFiles">
+ <Value>$(GIIntrospectBuiltFiles)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ImportGroup Label="PropertySheets">
- <Import Project="gi-build-defines.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros">
- <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
- <PythonDir>c:\\python34</PythonDir>
- <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
- <PythonDirX64>$(PythonDir).x64</PythonDirX64>
- </PropertyGroup>
- <PropertyGroup>
- <_PropertySheetDisplayName>giextrapathsprops</_PropertySheetDisplayName>
- </PropertyGroup>
- <ItemGroup>
- <BuildMacro Include="PythonDir">
- <Value>$(PythonDir)</Value>
- </BuildMacro>
- <BuildMacro Include="PythonDirX64">
- <Value>$(PythonDirX64)</Value>
- </BuildMacro>
- </ItemGroup>
-</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
<CopyConfigH>copy ..\..\..\config.h.win32 ..\..\..\config.h</CopyConfigH>
copy ..\..\..\tests\scanner\regress.h $(CopyDir)\share\gobject-introspection-1.0\tests
copy $(BinDir)\_giscanner.pyd $(CopyDir)\lib\gobject-introspection\giscanner
copy $(BinDir)\_giscanner.pdb $(CopyDir)\lib\gobject-introspection\giscanner
-mkdir $(CopyDir)\share\gir-$(ApiVersion)
mkdir $(CopyDir)\share\gobject-introspection-$(ApiVersion)
copy ..\..\..\girepository\gdump.c $(CopyDir)\share\gobject-introspection-$(ApiVersion)
+mkdir $(CopyDir)\lib
+copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\girepository-$(ApiVersion).lib $(CopyDir)\lib
+mkdir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\cairo-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\fontconfig-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\freetype2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\Gio-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GIRepository-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GL-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GLib-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GModule-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GObject-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\libxml2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\win32-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
mkdir $(CopyDir)\lib\girepository-$(ApiVersion)
-copy $(BinDir)\girepository-$(ApiVersion).lib $(CopyDir)\lib
-echo Please note that building GObject-Introspection with Visual Studio is now a 2-step process
-echo Please open the appropriate Visual Studio (or Windows SDK) command prompt and use the NMake Makefile
-echo in SRC_ROOT\build\win32\gi-introspection-msvc.mak to build the introspection files
-</GIDoInstall>
+copy ..\cairo-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\fontconfig-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\freetype2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\Gio-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GIRepository-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GL-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GLib-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GModule-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GObject-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\libxml2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\win32-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+mkdir $(CopyDir)\lib\pkgconfig
+copy ..\gobject-introspection-1.0.pc $(CopyDir)\lib\pkgconfig
+copy ..\gobject-introspection-no-export-1.0.pc $(CopyDir)\lib\pkgconfig
+ </GIDoInstall>
+ <GIPCFiles>..\gobject-introspection-1.0.pc;..\gobject-introspection-no-export-1.0.pc</GIPCFiles>
+ <GIGenPC>$(PythonDir)\python.exe ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)</GIGenPC>
+ <GIGenPCX64>$(PythonDirX64)\python.exe ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)</GIGenPCX64>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>giinstallprops</_PropertySheetDisplayName>
<BuildMacro Include="GIDoInstall">
<Value>$(GIDoInstall)</Value>
</BuildMacro>
+ <BuildMacro Include="GIPCFiles">
+ <Value>$(GIPCFiles)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIGenPC">
+ <Value>$(GIGenPC)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIGenPCX64">
+ <Value>$(GIGenPCX64)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
<ItemGroup>
<CustomBuild Include="..\..\..\config.h.win32">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">some_random_file;%(Outputs)</Outputs>
</CustomBuild>
+ <CustomBuild Include="..\gipc.py">
+ <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIGenPC)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIGenPCX64)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIGenPC)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIGenPCX64)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIPCFiles);%(Outputs)</Outputs>
+ </CustomBuild>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="g-ir-compiler.vcxproj">
<Project>{8311394f-9114-4c97-80f2-51bcaba054c9}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
+ <ProjectReference Include="gi-introspect.vcxproj">
+ <Project>{7a36674c-379d-4989-a978-07124e5f852c}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <CustomBuild Include="..\..\..\config.h.win32"><Filter>Resource Files</Filter></CustomBuild>
+ <CustomBuild Include="..\gipc.py"><Filter>Resource Files</Filter></CustomBuild>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <ItemGroup Label="ProjectConfigurations">\r
+ <ProjectConfiguration Include="Debug|Win32">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|Win32">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Debug|x64">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>x64</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|x64">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>x64</Platform>\r
+ </ProjectConfiguration>\r
+ </ItemGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{7A36674C-379D-4989-A978-07124E5F852C}</ProjectGuid>\r
+ <RootNamespace>giintrospect</RootNamespace>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <UseDebugLibraries>true</UseDebugLibraries>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v120</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <UseDebugLibraries>false</UseDebugLibraries>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v120</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v120</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <PlatformToolset>v120</PlatformToolset>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <ImportGroup Label="ExtensionSettings">\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <PropertyGroup Label="UserMacros" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <ItemGroup>\r
+ <ProjectReference Include="g-ir-compiler.vcxproj">\r
+ <Project>{5dcb55ce-f32c-4c77-8bf4-b4dad3ec7774}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="g-ir-generate.vcxproj">\r
+ <Project>{f4e6621f-a7dd-4863-8ccf-ba04dfc601e3}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="girepository.vcxproj">\r
+ <Project>{23e28245-8fc7-4b41-b1c5-8785bd4366a7}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="_giscanner.vcxproj">\r
+ <Project>{8311394f-9114-4c97-80f2-51bcaba054c9}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+ <ImportGroup Label="ExtensionTargets">\r
+ </ImportGroup>\r
+</Project>
\ No newline at end of file
<PropertyGroup Label="UserMacros">
<VSVer>12</VSVer>
<GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
- <BASE_GI_DIR>$(SolutionDir)\..\..\..</BASE_GI_DIR>
<CopyDir>$(GlibEtcInstallRoot)</CopyDir>
+ <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
+ <PythonDir>c:\\python34</PythonDir>
+ <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
+ <PythonDirX64>$(PythonDir).x64</PythonDirX64>
+ <IntrospectPythonParam>PYTHON=$(PythonDir)\python.exe</IntrospectPythonParam>
+ <IntrospectPythonParamX64>PYTHON=$(PythonDirX64)\python.exe</IntrospectPythonParamX64>
+ <GIVersion>1.48.0</GIVersion>
+ <BASE_GI_DIR>$(SolutionDir)\..\..\..</BASE_GI_DIR>
<ApiVersion>1.0</ApiVersion>
<DefDir>$(SolutionDir)$(Configuration)\$(Platform)\obj\$(ProjectName)</DefDir>
<LibGILibtoolCompatibleDllPrefix>lib</LibGILibtoolCompatibleDllPrefix>
<BuildMacro Include="GlibEtcInstallRoot">
<Value>$(GlibEtcInstallRoot)</Value>
</BuildMacro>
- <BuildMacro Include="BASE_GI_DIR">
- <Value>$(BASE_GI_DIR)</Value>
- </BuildMacro>
<BuildMacro Include="CopyDir">
<Value>$(CopyDir)</Value>
</BuildMacro>
+ <BuildMacro Include="PythonDir">
+ <Value>$(PythonDir)</Value>
+ </BuildMacro>
+ <BuildMacro Include="PythonDirX64">
+ <Value>$(PythonDirX64)</Value>
+ </BuildMacro>
+ <BuildMacro Include="IntrospectPythonParam">
+ <Value>$(IntrospectPythonParam)</Value>
+ </BuildMacro>
+ <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>
<BuildMacro Include="ApiVersion">
<Value>$(ApiVersion)</Value>
</BuildMacro>
- <BuildMacro Include="DefDir">
- <Value>$(DefDir)</Value>
- </BuildMacro>
<BuildMacro Include="LibGILibtoolCompatibleDllPrefix">
<Value>$(LibGILibtoolCompatibleDllPrefix)</Value>
</BuildMacro>
EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "g-ir-compiler", "g-ir-compiler.vcxproj", "{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}"\r
EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gi-introspect", "gi-introspect.vcxproj", "{7A36674C-379D-4989-A978-07124E5F852C}"\r
+EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gi-install", "gi-install.vcxproj", "{2093D218-190E-4194-9421-3BA7CBF33B10}"\r
EndProject\r
Global\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|Win32.Build.0 = Release|Win32\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|x64.ActiveCfg = Release|x64\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|x64.Build.0 = Release|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|Win32.ActiveCfg = Debug|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|Win32.Build.0 = Debug|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|x64.ActiveCfg = Debug|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|x64.Build.0 = Debug|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|Win32.ActiveCfg = Release|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|Win32.Build.0 = Release|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|x64.ActiveCfg = Release|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|x64.Build.0 = Release|x64\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|Win32.ActiveCfg = Debug|Win32\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|Win32.Build.0 = Debug|Win32\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|x64.ActiveCfg = Debug|x64\r
EXTRA_DIST = \
gobject-introspection.sln \
gi-build-defines.props \
- gi-extra-paths.props \
gi-gen-srcs.props \
gi-install.props \
gi-version-paths.props \
_giscanner.vcxproj \
_giscanner.vcxproj.filters \
gi-install.vcxproj \
+ gi-install.vcxproj.filters \
+ gi-introspect.vcxproj \
README.txt
DISTCLEANFILES = $(EXTRA_DIST)
EXTRA_DIST = \
gobject-introspection.sln \
gi-build-defines.props \
- gi-extra-paths.props \
gi-gen-srcs.props \
gi-install.props \
gi-version-paths.props \
_giscanner.vcxproj \
_giscanner.vcxproj.filters \
gi-install.vcxproj \
+ gi-install.vcxproj.filters \
+ gi-introspect.vcxproj \
README.txt
DISTCLEANFILES = $(EXTRA_DIST)
http://www.gtk.org/download/win64.php [64-bit]\r
\r
*** Note! ***\r
-Please note that due to numerous possible configurations on Python, PKG_CONFIG_PATH,\r
-the build of G-I is now a 2-step process: one with the Visual Studio Projects that\r
-will build the libraries, tools, Python Module and test DLLs (except for the everything\r
-test), and the other one with NMake Makefiles for building the introspection files.\r
-Please note that if one needs to change the installation location\r
-of Python, one needs to change the values of PythonDir (for x86/Win32 builds) and/or\r
-PythonDirX64 (for x64 builds) in gi-extra-paths.props\r
+The build of G-I is now done within the project files, although it is still possible to\r
+do it in two stages by using the NMake Makefiles after building the projects.\r
+\r
+As there are numerous possible configurations on Python and PKG_CONFIG_PATH, note that:\r
+-For both methods PKG_CONFIG_PATH is by default $(PREFIX)\lib\pkgconfig, where $(PREFIX)\r
+ is by default <parent_dir_of_G-I_srcroot>\vs14\<PlatformName>. If searching from\r
+ more directories is desired, set the PKG_CONFIG_PATH environment variable before using\r
+ the NMake Makefile or opening the projects, but note that $(PREFIX)\lib\pkgconfig will\r
+ precede the set paths.\r
+-For the Python Path using the project files: check whether the directory settings in\r
+ gi-version-paths.vsprops under PythonDir (32-bit) or PythonDirX64 (x64) is correct.\r
+ If the projects have been loaded by Visual Studio, close the projects and re-open them.\r
+ You may need to delete all the *.suo, *.user and *.ncb files in this directory for\r
+ the changes to take effect.\r
+-For the Python Path using the NMake Makefiles: pass in PYTHON=<full_path_to_python> to\r
+ the NMake Makefile or set it in the environment. The bit-ness of your Python installation\r
+ must match the configuration that you are building for.\r
\r
The use of Visual Studio Projects will no longer require the setting of environmental\r
variables, but the following environmental variables are needed (either by using "set xxx=yyy"\r
or by nmake -f gi-introspection-msvc.mak xxx=yyy) for building the introspection files (which\r
should be done after successfully building the Project Files):\r
\r
-PYTHON: Full path to your Python 2.7.x/3.3.x+ interpretor (python.exe) if it is\r
- not in your PATH. Please note that only 2.7.x and 3.3.x and later works.\r
- You need to use an x64/amd64 version of Python for x64 builds, and a Win32/x86\r
- version of Python for Win32/x86 builds\r
-PKG_CONFIG_PATH: Location of the .pc (pkg-config) files, especially for the GLib .pc files.\r
-\r
Please see $(srcroot)\build\win32\gi-introspection-msvc.mak for more details. Doing\r
"nmake -f gi-introspection-msvc.mak (options omitted)" will build the various introspection files,\r
and "nmake -f gi-introspection-msvc.mak (options omitted) install-introspection" will copy the introspection\r
-files to <root>\vs14\<PlatformName>\share\gir-1.0 (.gir files) and\r
-<root>\vs14\<PlatformName>\lib\girepository-1.0 (.typelib files)\r
+files to <root>\vs14\<PlatformName>\share\gir-1.0 (.gir files) and <root>\vs14\<PlatformName>\lib\girepository-1.0\r
+(.typelib files)\r
\r
*** End of Note! ***\r
\r
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<PropertyGroup Label="UserMacros">
<FFIDefines>FFI_BUILDING</FFIDefines>
<GIRepositoryBuildDefines>G_IREPOSITORY_COMPILATION;$(FFIDefines);DLL_EXPORT</GIRepositoryBuildDefines>
+ <GIIntrospectNMakeCmd>cd ..
+set VCInstallDir=$(VCInstallDir)
+nmake -f gi-introspection-msvc.mak CFG=$(Configuration) PREFIX=$(GlibEtcInstallRoot)</GIIntrospectNMakeCmd>
+ <GIIntrospectBuiltFiles>$(SolutionDir)\..\GLib-2.0.gir;$(SolutionDir)\..\GObject-2.0.gir;$(SolutionDir)\..\GModule-2.0.gir;$(SolutionDir)\..\Gio-2.0.gir;$(SolutionDir)\..\GIRepository-2.0.gir;$(SolutionDir)\..\cairo-1.0.gir;$(SolutionDir)\..\win32-1.0.gir;$(SolutionDir)\..\fontconfig-2.0.gir;$(SolutionDir)\..\freetype-2.0.gir;$(SolutionDir)\..\libxml2-2.0.gir;$(SolutionDir)\..\GL-1.0.gir;$(SolutionDir)\..\GLib-2.0.typelib;$(SolutionDir)\..\GObject-2.0.typelib;$(SolutionDir)\..\GModule-2.0.typelib;$(SolutionDir)\..\Gio-2.0.typelib;$(SolutionDir)\..\GIRepository-2.0.typelib;$(SolutionDir)\..\cairo-1.0.typelib;$(SolutionDir)\..\win32-1.0.typelib;$(SolutionDir)\..\fontconfig-2.0.typelib;$(SolutionDir)\..\freetype-2.0.typelib;$(SolutionDir)\..\libxml2-2.0.typelib;$(SolutionDir)\..\GL-1.0.typelib</GIIntrospectBuiltFiles>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>gibuilddefinesprops</_PropertySheetDisplayName>
<BuildMacro Include="GIRepositoryBuildDefines">
<Value>$(GIRepositoryBuildDefines)</Value>
</BuildMacro>
+ <BuildMacro Include="GIIntrospectNMakeCmd">
+ <Value>$(GIIntrospectNMakeCmd)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIIntrospectBuiltFiles">
+ <Value>$(GIIntrospectBuiltFiles)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ImportGroup Label="PropertySheets">
- <Import Project="gi-build-defines.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros">
- <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
- <PythonDir>c:\\python34</PythonDir>
- <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
- <PythonDirX64>$(PythonDir).x64</PythonDirX64>
- </PropertyGroup>
- <PropertyGroup>
- <_PropertySheetDisplayName>giextrapathsprops</_PropertySheetDisplayName>
- </PropertyGroup>
- <ItemGroup>
- <BuildMacro Include="PythonDir">
- <Value>$(PythonDir)</Value>
- </BuildMacro>
- <BuildMacro Include="PythonDirX64">
- <Value>$(PythonDirX64)</Value>
- </BuildMacro>
- </ItemGroup>
-</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
- <Import Project="gi-extra-paths.props" />
+ <Import Project="gi-build-defines.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
<CopyConfigH>copy ..\..\..\config.h.win32 ..\..\..\config.h</CopyConfigH>
copy ..\..\..\tests\scanner\regress.h $(CopyDir)\share\gobject-introspection-1.0\tests
copy $(BinDir)\_giscanner.pyd $(CopyDir)\lib\gobject-introspection\giscanner
copy $(BinDir)\_giscanner.pdb $(CopyDir)\lib\gobject-introspection\giscanner
-mkdir $(CopyDir)\share\gir-$(ApiVersion)
mkdir $(CopyDir)\share\gobject-introspection-$(ApiVersion)
copy ..\..\..\girepository\gdump.c $(CopyDir)\share\gobject-introspection-$(ApiVersion)
+mkdir $(CopyDir)\lib
+copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\girepository-$(ApiVersion).lib $(CopyDir)\lib
+mkdir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\cairo-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\fontconfig-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\freetype2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\Gio-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GIRepository-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GL-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GLib-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GModule-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\GObject-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\libxml2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)
+copy ..\win32-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)
mkdir $(CopyDir)\lib\girepository-$(ApiVersion)
-copy $(BinDir)\girepository-$(ApiVersion).lib $(CopyDir)\lib
-echo Please note that building GObject-Introspection with Visual Studio is now a 2-step process
-echo Please open the appropriate Visual Studio (or Windows SDK) command prompt and use the NMake Makefile
-echo in SRC_ROOT\build\win32\gi-introspection-msvc.mak to build the introspection files
-</GIDoInstall>
+copy ..\cairo-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\fontconfig-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\freetype2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\Gio-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GIRepository-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GL-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GLib-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GModule-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\GObject-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\libxml2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+copy ..\win32-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)
+mkdir $(CopyDir)\lib\pkgconfig
+copy ..\gobject-introspection-1.0.pc $(CopyDir)\lib\pkgconfig
+copy ..\gobject-introspection-no-export-1.0.pc $(CopyDir)\lib\pkgconfig
+ </GIDoInstall>
+ <GIPCFiles>..\gobject-introspection-1.0.pc;..\gobject-introspection-no-export-1.0.pc</GIPCFiles>
+ <GIGenPC>$(PythonDir)\python.exe ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)</GIGenPC>
+ <GIGenPCX64>$(PythonDirX64)\python.exe ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)</GIGenPCX64>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>giinstallprops</_PropertySheetDisplayName>
<BuildMacro Include="GIDoInstall">
<Value>$(GIDoInstall)</Value>
</BuildMacro>
+ <BuildMacro Include="GIPCFiles">
+ <Value>$(GIPCFiles)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIGenPC">
+ <Value>$(GIGenPC)</Value>
+ </BuildMacro>
+ <BuildMacro Include="GIGenPCX64">
+ <Value>$(GIGenPCX64)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
<ItemGroup>
<CustomBuild Include="..\..\..\config.h.win32">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">some_random_file;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Installing Build Results...</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIPCFiles)</AdditionalInputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIDoInstall)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">some_random_file;%(Outputs)</Outputs>
</CustomBuild>
+ <CustomBuild Include="..\gipc.py">
+ <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIGenPC)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIGenPCX64)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIGenPC)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GIPCFiles);%(Outputs)</Outputs>
+ <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating .pc files...</Message>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIGenPCX64)</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GIPCFiles);%(Outputs)</Outputs>
+ </CustomBuild>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="g-ir-compiler.vcxproj">
<Project>{8311394f-9114-4c97-80f2-51bcaba054c9}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
+ <ProjectReference Include="gi-introspect.vcxproj">
+ <Project>{7a36674c-379d-4989-a978-07124e5f852c}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <CustomBuild Include="..\..\..\config.h.win32"><Filter>Resource Files</Filter></CustomBuild>
+ <CustomBuild Include="..\gipc.py"><Filter>Resource Files</Filter></CustomBuild>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <ItemGroup Label="ProjectConfigurations">\r
+ <ProjectConfiguration Include="Debug|Win32">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|Win32">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Debug|x64">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>x64</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|x64">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>x64</Platform>\r
+ </ProjectConfiguration>\r
+ </ItemGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{7A36674C-379D-4989-A978-07124E5F852C}</ProjectGuid>\r
+ <RootNamespace>giintrospect</RootNamespace>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <UseDebugLibraries>true</UseDebugLibraries>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v140</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <UseDebugLibraries>false</UseDebugLibraries>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v140</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <PlatformToolset>v140</PlatformToolset>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">\r
+ <ConfigurationType>Makefile</ConfigurationType>\r
+ <CharacterSet>MultiByte</CharacterSet>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <PlatformToolset>v140</PlatformToolset>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <ImportGroup Label="ExtensionSettings">\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ <Import Project="gi-build-defines.props" />\r
+ </ImportGroup>\r
+ <PropertyGroup Label="UserMacros" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+ <NMakeBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64)</NMakeBuildCommandLine>\r
+ <NMakeReBuildCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean all</NMakeReBuildCommandLine>\r
+ <NMakeCleanCommandLine>$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean</NMakeCleanCommandLine>\r
+ <NMakeOutput>$(GIIntrospectBuiltFiles)</NMakeOutput>\r
+ </PropertyGroup>\r
+ <ItemGroup>\r
+ <ProjectReference Include="g-ir-compiler.vcxproj">\r
+ <Project>{5dcb55ce-f32c-4c77-8bf4-b4dad3ec7774}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="g-ir-generate.vcxproj">\r
+ <Project>{f4e6621f-a7dd-4863-8ccf-ba04dfc601e3}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="girepository.vcxproj">\r
+ <Project>{23e28245-8fc7-4b41-b1c5-8785bd4366a7}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ <ProjectReference Include="_giscanner.vcxproj">\r
+ <Project>{8311394f-9114-4c97-80f2-51bcaba054c9}</Project>\r
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>\r
+ </ProjectReference>\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+ <ImportGroup Label="ExtensionTargets">\r
+ </ImportGroup>\r
+</Project>
\ No newline at end of file
<PropertyGroup Label="UserMacros">
<VSVer>14</VSVer>
<GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
- <BASE_GI_DIR>$(SolutionDir)\..\..\..</BASE_GI_DIR>
<CopyDir>$(GlibEtcInstallRoot)</CopyDir>
+ <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
+ <PythonDir>c:\\python34</PythonDir>
+ <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
+ <PythonDirX64>$(PythonDir).x64</PythonDirX64>
+ <IntrospectPythonParam>PYTHON=$(PythonDir)\python.exe</IntrospectPythonParam>
+ <IntrospectPythonParamX64>PYTHON=$(PythonDirX64)\python.exe</IntrospectPythonParamX64>
+ <GIVersion>1.48.0</GIVersion>
+ <BASE_GI_DIR>$(SolutionDir)\..\..\..</BASE_GI_DIR>
<ApiVersion>1.0</ApiVersion>
<DefDir>$(SolutionDir)$(Configuration)\$(Platform)\obj\$(ProjectName)</DefDir>
<LibGILibtoolCompatibleDllPrefix>lib</LibGILibtoolCompatibleDllPrefix>
<BuildMacro Include="GlibEtcInstallRoot">
<Value>$(GlibEtcInstallRoot)</Value>
</BuildMacro>
- <BuildMacro Include="BASE_GI_DIR">
- <Value>$(BASE_GI_DIR)</Value>
- </BuildMacro>
<BuildMacro Include="CopyDir">
<Value>$(CopyDir)</Value>
</BuildMacro>
+ <BuildMacro Include="PythonDir">
+ <Value>$(PythonDir)</Value>
+ </BuildMacro>
+ <BuildMacro Include="PythonDirX64">
+ <Value>$(PythonDirX64)</Value>
+ </BuildMacro>
+ <BuildMacro Include="IntrospectPythonParam">
+ <Value>$(IntrospectPythonParam)</Value>
+ </BuildMacro>
+ <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>
<BuildMacro Include="ApiVersion">
<Value>$(ApiVersion)</Value>
</BuildMacro>
- <BuildMacro Include="DefDir">
- <Value>$(DefDir)</Value>
- </BuildMacro>
<BuildMacro Include="LibGILibtoolCompatibleDllPrefix">
<Value>$(LibGILibtoolCompatibleDllPrefix)</Value>
</BuildMacro>
EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "g-ir-compiler", "g-ir-compiler.vcxproj", "{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}"\r
EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gi-introspect", "gi-introspect.vcxproj", "{7A36674C-379D-4989-A978-07124E5F852C}"\r
+EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gi-install", "gi-install.vcxproj", "{2093D218-190E-4194-9421-3BA7CBF33B10}"\r
EndProject\r
Global\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|Win32.Build.0 = Release|Win32\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|x64.ActiveCfg = Release|x64\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}.Release|x64.Build.0 = Release|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|Win32.ActiveCfg = Debug|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|Win32.Build.0 = Debug|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|x64.ActiveCfg = Debug|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|x64.Build.0 = Debug|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|Win32.ActiveCfg = Release|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|Win32.Build.0 = Release|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|x64.ActiveCfg = Release|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|x64.Build.0 = Release|x64\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|Win32.ActiveCfg = Debug|Win32\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|Win32.Build.0 = Debug|Win32\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|x64.ActiveCfg = Debug|x64\r
EXTRA_DIST = \
gobject-introspection.sln \
gi-build-defines.vsprops \
- gi-extra-paths.vsprops \
gi-gen-srcs.vsprops \
gi-install.vspropsin \
gi-version-paths.vsprops \
g-ir-generate.vcproj \
glib-print.vcproj \
gi-install.vcproj \
+ gi-introspect.vcproj \
_giscanner.vcproj \
README.txt \
$(GENERATED_ITEMS)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_FILES = gi-version-paths.vsprops
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
-am__DIST_COMMON = $(srcdir)/Makefile.in
+am__DIST_COMMON = $(srcdir)/Makefile.in \
+ $(srcdir)/gi-version-paths.vsprops.in
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
EXTRA_DIST = \
gobject-introspection.sln \
gi-build-defines.vsprops \
- gi-extra-paths.vsprops \
gi-gen-srcs.vsprops \
gi-install.vspropsin \
gi-version-paths.vsprops \
g-ir-generate.vcproj \
glib-print.vcproj \
gi-install.vcproj \
+ gi-introspect.vcproj \
_giscanner.vcproj \
README.txt \
$(GENERATED_ITEMS)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
+gi-version-paths.vsprops: $(top_builddir)/config.status $(srcdir)/gi-version-paths.vsprops.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
mostlyclean-libtool:
-rm -f *.lo
http://www.gtk.org/download/win64.php [64-bit]\r
\r
*** Note! ***\r
-Please note that due to numerous possible configurations on Python and PKG_CONFIG_PATH,\r
-the build of G-I is now a 2-step process: one with the Visual Studio Projects that\r
-will build the libraries, tools, Python Module and test DLLs (except for the everything\r
-test), and the other one with NMake Makefiles for building the introspection files.\r
-Please note that if one needs to change the installation location\r
-of Python, one needs to change the values of PythonDir (for x86/Win32 builds) and/or\r
-PythonDirX64 (for x64 builds) in gi-extra-paths.vsprops\r
+The build of G-I is now done within the project files, although it is still possible to\r
+do it in two stages by using the NMake Makefiles after building the projects.\r
+\r
+As there are numerous possible configurations on Python and PKG_CONFIG_PATH, note that:\r
+-For both methods PKG_CONFIG_PATH is by default $(PREFIX)\lib\pkgconfig, where $(PREFIX)\r
+ is by default <parent_dir_of_G-I_srcroot>\vs9\<PlatformName>. If searching from\r
+ more directories is desired, set the PKG_CONFIG_PATH environment variable before using\r
+ the NMake Makefile or opening the projects, but note that $(PREFIX)\lib\pkgconfig will\r
+ precede the set paths.\r
+-For the Python Path using the project files: check whether the directory settings in\r
+ gi-version-paths.vsprops under PythonDir (32-bit) or PythonDirX64 (x64) is correct.\r
+ If the projects have been loaded by Visual Studio, close the projects and re-open them.\r
+ You may need to delete all the *.suo, *.user and *.ncb files in this directory for\r
+ the changes to take effect.\r
+-For the Python Path using the NMake Makefiles: pass in PYTHON=<full_path_to_python> to\r
+ the NMake Makefile or set it in the environment. The bit-ness of your Python installation\r
+ must match the configuration that you are building for.\r
\r
The use of Visual Studio Projects will no longer require the setting of environmental\r
variables, but the following environmental variables are needed (either by using "set xxx=yyy"\r
or by nmake -f gi-introspection-msvc.mak xxx=yyy) for building the introspection files (which\r
should be done after successfully building the Project Files):\r
\r
-PYTHON: Full path to your Python 2.7.x/3.3.x+ interpretor (python.exe) if it is\r
- not in your PATH. Please note that only 2.7.x and 3.3.x and later works.\r
- You need to use an x64/amd64 version of Python for x64 builds, and a Win32/x86\r
- version of Python for Win32/x86 builds\r
-PKG_CONFIG_PATH: Location of the .pc (pkg-config) files, especially for the GLib .pc files.\r
-\r
Please see $(srcroot)\build\win32\gi-introspection-msvc.mak for more details. Doing\r
"nmake -f gi-introspection-msvc.mak (options omitted)" will build the various introspection files,\r
and "nmake -f gi-introspection-msvc.mak (options omitted) install-introspection" will copy the introspection\r
<Configuration
Name="Debug|Win32"
ConfigurationType="2"
- InheritedPropertySheets=".\gi-extra-paths.vsprops"
+ InheritedPropertySheets=".\gi-build-defines.vsprops"
CharacterSet="2"
>
<Tool
<Configuration
Name="Release|Win32"
ConfigurationType="2"
- InheritedPropertySheets=".\gi-extra-paths.vsprops"
+ InheritedPropertySheets=".\gi-build-defines.vsprops"
CharacterSet="2"
WholeProgramOptimization="1"
>
<Configuration
Name="Debug|x64"
ConfigurationType="2"
- InheritedPropertySheets=".\gi-extra-paths.vsprops"
+ InheritedPropertySheets=".\gi-build-defines.vsprops"
CharacterSet="2"
>
<Tool
<Configuration
Name="Release|x64"
ConfigurationType="2"
- InheritedPropertySheets=".\gi-extra-paths.vsprops"
+ InheritedPropertySheets=".\gi-build-defines.vsprops"
CharacterSet="2"
WholeProgramOptimization="1"
>
Name="GIRepositoryBuildDefines"
Value="G_IREPOSITORY_COMPILATION;$(FFIDefines);DLL_EXPORT"
/>
+ <UserMacro
+ Name="GIIntrospectNMakeCmd"
+ Value="cd ..
set VCInstallDir=$(VCInstallDir)
nmake -f gi-introspection-msvc.mak CFG=$(ConfigurationName) PREFIX=$(GlibEtcInstallRoot)"
+ />
+ <UserMacro
+ Name="GIIntrospectBuiltFiles"
+ Value="$(SolutionDir)\..\GLib-2.0.gir;$(SolutionDir)\..\GObject-2.0.gir;$(SolutionDir)\..\GModule-2.0.gir;$(SolutionDir)\..\Gio-2.0.gir;$(SolutionDir)\..\GIRepository-2.0.gir;$(SolutionDir)\..\cairo-1.0.gir;$(SolutionDir)\..\win32-1.0.gir;$(SolutionDir)\..\fontconfig-2.0.gir;$(SolutionDir)\..\freetype-2.0.gir;$(SolutionDir)\..\libxml2-2.0.gir;$(SolutionDir)\..\GL-1.0.gir;$(SolutionDir)\..\GLib-2.0.typelib;$(SolutionDir)\..\GObject-2.0.typelib;$(SolutionDir)\..\GModule-2.0.typelib;$(SolutionDir)\..\Gio-2.0.typelib;$(SolutionDir)\..\GIRepository-2.0.typelib;$(SolutionDir)\..\cairo-1.0.typelib;$(SolutionDir)\..\win32-1.0.typelib;$(SolutionDir)\..\fontconfig-2.0.typelib;$(SolutionDir)\..\freetype-2.0.typelib;$(SolutionDir)\..\libxml2-2.0.typelib;$(SolutionDir)\..\GL-1.0.typelib"
+ />
</VisualStudioPropertySheet>
+++ /dev/null
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioPropertySheet
- ProjectType="Visual C++"
- Version="8.00"
- Name="giextrapaths"
- InheritedPropertySheets=".\gi-build-defines.vsprops"
- >
- <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
- <UserMacro
- Name="PythonDir"
- Value="c:\\python27"
- />
- <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
- <UserMacro
- Name="PythonDirX64"
- Value="$(PythonDir).x64"
- />
-</VisualStudioPropertySheet>
ProjectType="Visual C++"
Version="8.00"
Name="gigensrcsprops"
- InheritedPropertySheets=".\gi-extra-paths.vsprops"
+ InheritedPropertySheets=".\gi-build-defines.vsprops"
>
<UserMacro
Name="CopyConfigH"
DeleteExtensionsOnClean=""
>
<Tool
- Name="VCPreBuildEventTool"
+ Name="VCPostBuildEventTool"
CommandLine="$(GIDoInstall)"
/>
</Configuration>
DeleteExtensionsOnClean=""
>
<Tool
- Name="VCPreBuildEventTool"
+ Name="VCPostBuildEventTool"
CommandLine="$(GIDoInstall)"
/>
</Configuration>
DeleteExtensionsOnClean=""
>
<Tool
- Name="VCPreBuildEventTool"
+ Name="VCPostBuildEventTool"
CommandLine="$(GIDoInstall)"
/>
</Configuration>
DeleteExtensionsOnClean=""
>
<Tool
- Name="VCPreBuildEventTool"
+ Name="VCPostBuildEventTool"
CommandLine="$(GIDoInstall)"
/>
</Configuration>
</Configurations>
+ <Files>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ <File RelativePath="..\gipc.py">
+ <FileConfiguration Name="Debug|Win32">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Generating .pc files..."
+ CommandLine="$(GIGenPC)"
+ Outputs="..\gobject-introspection-1.0.pc;..\gobject-introspection-no-export-1.0.pc"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Release|Win32">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Generating .pc files..."
+ CommandLine="$(GIGenPC)"
+ Outputs="..\gobject-introspection-1.0.pc;..\gobject-introspection-no-export-1.0.pc"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Debug|x64">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Generating .pc files..."
+ CommandLine="$(GIGenPCX64)"
+ Outputs="..\gobject-introspection-1.0.pc;..\gobject-introspection-no-export-1.0.pc"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Release|x64">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Generating .pc files..."
+ CommandLine="$(GIGenPCX64)"
+ Outputs="..\gobject-introspection-1.0.pc;..\gobject-introspection-no-export-1.0.pc"
+ />
+ </FileConfiguration>
+ </File>
+ </Filter>
+ </Files>
</VisualStudioProject>
copy ..\..\..\tests\scanner\regress.h $(CopyDir)\share\gobject-introspection-1.0\tests

copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\_giscanner.pyd $(CopyDir)\lib\gobject-introspection\giscanner

copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\_giscanner.pdb $(CopyDir)\lib\gobject-introspection\giscanner

-mkdir $(CopyDir)\share\gir-$(ApiVersion)

mkdir $(CopyDir)\share\gobject-introspection-$(ApiVersion)

copy ..\..\..\girepository\gdump.c $(CopyDir)\share\gobject-introspection-$(ApiVersion)

mkdir $(CopyDir)\lib

copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\girepository-$(ApiVersion).lib $(CopyDir)\lib

-echo Please note that building GObject-Introspection with Visual Studio is now a 2-step process

-echo Please open the appropriate Visual Studio (or Windows SDK) command prompt and use the NMake Makefile

-echo in SRC_ROOT\build\win32\gi-introspection-msvc.mak to build the introspection files

+mkdir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\cairo-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\fontconfig-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\freetype2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\Gio-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\GIRepository-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\GL-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\GLib-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\GModule-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\GObject-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\libxml2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\win32-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+mkdir $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\cairo-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\fontconfig-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\freetype2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\Gio-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\GIRepository-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\GL-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\GLib-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\GModule-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\GObject-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\libxml2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\win32-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+mkdir $(CopyDir)\lib\pkgconfig

+copy ..\gobject-introspection-1.0.pc $(CopyDir)\lib\pkgconfig

+copy ..\gobject-introspection-no-export-1.0.pc $(CopyDir)\lib\pkgconfig

"
/>
+ <UserMacro
+ Name="GIGenPc"
+ Value="$(PythonDir)\python ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)"
+ />
+ <UserMacro
+ Name="GIGenPcX64"
+ Value="$(PythonDirX64)\python ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)"
+ />
</VisualStudioPropertySheet>
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\_giscanner.pyd $(CopyDir)\lib\gobject-introspection\giscanner

copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\_giscanner.pdb $(CopyDir)\lib\gobject-introspection\giscanner

-mkdir $(CopyDir)\share\gir-$(ApiVersion)

mkdir $(CopyDir)\share\gobject-introspection-$(ApiVersion)

copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\girepository-$(ApiVersion).lib $(CopyDir)\lib

-echo Please note that building GObject-Introspection with Visual Studio is now a 2-step process

-echo Please open the appropriate Visual Studio (or Windows SDK) command prompt and use the NMake Makefile

-echo in SRC_ROOT\build\win32\gi-introspection-msvc.mak to build the introspection files

+mkdir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\cairo-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\fontconfig-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\freetype2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\Gio-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\GIRepository-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\GL-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\GLib-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\GModule-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\GObject-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\libxml2-2.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+copy ..\win32-1.0.gir $(CopyDir)\share\gir-$(ApiVersion)

+
+mkdir $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\cairo-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\fontconfig-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\freetype2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\Gio-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\GIRepository-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\GL-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\GLib-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\GModule-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\GObject-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\libxml2-2.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+copy ..\win32-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion)

+
+mkdir $(CopyDir)\lib\pkgconfig

+copy ..\gobject-introspection-1.0.pc $(CopyDir)\lib\pkgconfig

+copy ..\gobject-introspection-no-export-1.0.pc $(CopyDir)\lib\pkgconfig

"
/>
+ <UserMacro
+ Name="GIGenPc"
+ Value="$(PythonDir)\python ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)"
+ />
+ <UserMacro
+ Name="GIGenPcX64"
+ Value="$(PythonDirX64)\python ..\gipc.py --version=$(GIVersion) --prefix=$(CopyDir)"
+ />
</VisualStudioPropertySheet>
--- /dev/null
+<?xml version="1.0" encoding="Windows-1252"?>\r
+<VisualStudioProject\r
+ ProjectType="Visual C++"\r
+ Version="9.00"\r
+ Name="gi-introspect"\r
+ ProjectGUID="{7A36674C-379D-4989-A978-07124E5F852C}"\r
+ Keyword="MakeFileProj"\r
+ TargetFrameworkVersion="196613"\r
+ >\r
+ <Platforms>\r
+ <Platform\r
+ Name="Win32"\r
+ />\r
+ <Platform\r
+ Name="x64"\r
+ />\r
+ </Platforms>\r
+ <ToolFiles>\r
+ </ToolFiles>\r
+ <Configurations>\r
+ <Configuration\r
+ Name="Debug|Win32"\r
+ ConfigurationType="0"\r
+ InheritedPropertySheets=".\gi-build-defines.vsprops"\r
+ >\r
+ <Tool\r
+ Name="VCNMakeTool"\r
+ BuildCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParam)"\r
+ ReBuildCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean all"\r
+ CleanCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean"\r
+ Output="$(GIIntrospectBuiltFiles)"\r
+ />\r
+ </Configuration>\r
+ <Configuration\r
+ Name="Debug|x64"\r
+ ConfigurationType="0"\r
+ InheritedPropertySheets=".\gi-build-defines.vsprops"\r
+ >\r
+ <Tool\r
+ Name="VCNMakeTool"\r
+ BuildCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64)"\r
+ ReBuildCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean all"\r
+ CleanCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean"\r
+ Output="$(GIIntrospectBuiltFiles)"\r
+ />\r
+ </Configuration>\r
+ <Configuration\r
+ Name="Release|Win32"\r
+ ConfigurationType="0"\r
+ InheritedPropertySheets=".\gi-build-defines.vsprops"\r
+ CharacterSet="2"\r
+ DeleteExtensionsOnClean=""\r
+ >\r
+ <Tool\r
+ Name="VCNMakeTool"\r
+ BuildCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParam)"\r
+ ReBuildCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean all"\r
+ CleanCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParam) clean"\r
+ Output="$(GIIntrospectBuiltFiles)"\r
+ />\r
+ </Configuration>\r
+ <Configuration\r
+ Name="Release|x64"\r
+ ConfigurationType="0"\r
+ InheritedPropertySheets=".\gi-build-defines.vsprops"\r
+ >\r
+ <Tool\r
+ Name="VCNMakeTool"\r
+ BuildCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64)"\r
+ ReBuildCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean all"\r
+ CleanCommandLine="$(GIIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean"\r
+ Output="$(GIIntrospectBuiltFiles)"\r
+ />\r
+ </Configuration>\r
+ </Configurations>\r
+</VisualStudioProject>\r
Value="$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(PlatformName)"
/>
<UserMacro
- Name="BASE_GI_DIR"
- Value="$(SolutionDir)\..\..\.."
- />
- <UserMacro
Name="CopyDir"
Value="$(GlibEtcInstallRoot)"
/>
+ <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
<UserMacro
- Name="ApiVersion"
- Value="1.0"
+ Name="PythonDir"
+ Value="c:\\python27"
+ />
+ <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
+ <UserMacro
+ Name="PythonDirX64"
+ Value="$(PythonDir).x64"
+ />
+ <UserMacro
+ Name="IntrospectPythonParam"
+ Value="PYTHON=$(PythonDir)\python.exe"
/>
<UserMacro
- Name="DefDir"
- Value="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)"
+ Name="IntrospectPythonParamX64"
+ Value="PYTHON=$(PythonDirX64)\python.exe"
+ />
+ <UserMacro
+ Name="GIVersion"
+ Value="1.48.0"
+ />
+ <UserMacro
+ Name="BASE_GI_DIR"
+ Value="$(SolutionDir)\..\..\.."
+ />
+ <UserMacro
+ Name="ApiVersion"
+ Value="1.0"
/>
<UserMacro
Name="LibGILibtoolCompatibleDllPrefix"
--- /dev/null
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="giversionpaths"
+ >
+ <UserMacro
+ Name="VSVer"
+ Value="9"
+ />
+ <UserMacro
+ Name="GlibEtcInstallRoot"
+ Value="$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(PlatformName)"
+ />
+ <UserMacro
+ Name="CopyDir"
+ Value="$(GlibEtcInstallRoot)"
+ />
+ <!-- PythonDir needs to point to a 32-bit/x86 Python 2.7/3.3+ installation -->
+ <UserMacro
+ Name="PythonDir"
+ Value="c:\\python27"
+ />
+ <!-- PythonDirX64 needs to point to an x86-64/x64 Python 2.7/3.3+ installation -->
+ <UserMacro
+ Name="PythonDirX64"
+ Value="$(PythonDir).x64"
+ />
+ <UserMacro
+ Name="IntrospectPythonParam"
+ Value="PYTHON=$(PythonDir)\python.exe"
+ />
+ <UserMacro
+ Name="IntrospectPythonParamX64"
+ Value="PYTHON=$(PythonDirX64)\python.exe"
+ />
+ <UserMacro
+ Name="GIVersion"
+ Value="@PACKAGE_VERSION@"
+ />
+ <UserMacro
+ Name="BASE_GI_DIR"
+ Value="$(SolutionDir)\..\..\.."
+ />
+ <UserMacro
+ Name="ApiVersion"
+ Value="1.0"
+ />
+ <UserMacro
+ Name="LibGILibtoolCompatibleDllPrefix"
+ Value="lib"
+ />
+ <UserMacro
+ Name="LibGILibtoolCompatibleDllSuffix"
+ Value="-$(ApiVersion)-0"
+ />
+ <UserMacro
+ Name="LibGISeparateVSDllPrefix"
+ Value=""
+ />
+ <UserMacro
+ Name="LibGISeparateVSDllSuffix"
+ Value="-1-vs$(VSVer)"
+ />
+ <!-- Change these two to LibGILibtoolCompatibleDllPrefix and
+ LibGILibtoolCompatibleDllSuffix if that is what you want -->
+ <UserMacro
+ Name="LibGIDllPrefix"
+ Value="$(LibGISeparateVSDllPrefix)"
+ />
+ <UserMacro
+ Name="LibGIDllSuffix"
+ Value="$(LibGISeparateVSDllSuffix)"
+ />
+</VisualStudioPropertySheet>
{442C007E-D901-41DA-9706-5DB4AFB4C06B} = {442C007E-D901-41DA-9706-5DB4AFB4C06B}\r
EndProjectSection\r
EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gi-introspect", "gi-introspect.vcproj", "{7A36674C-379D-4989-A978-07124E5F852C}"\r
+ ProjectSection(ProjectDependencies) = postProject\r
+ {F4E6621F-A7DD-4863-8CCF-BA04DFC601E3} = {F4E6621F-A7DD-4863-8CCF-BA04DFC601E3}\r
+ {23E28245-8FC7-4B41-B1C5-8785BD4366A7} = {23E28245-8FC7-4B41-B1C5-8785BD4366A7}\r
+ {8311394F-9114-4C97-80F2-51BCABA054C9} = {8311394F-9114-4C97-80F2-51BCABA054C9}\r
+ {5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774} = {5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}\r
+ EndProjectSection\r
+EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gi-install", "gi-install.vcproj", "{2093D218-190E-4194-9421-3BA7CBF33B10}"\r
ProjectSection(ProjectDependencies) = postProject\r
{F4E6621F-A7DD-4863-8CCF-BA04DFC601E3} = {F4E6621F-A7DD-4863-8CCF-BA04DFC601E3}\r
{23E28245-8FC7-4B41-B1C5-8785BD4366A7} = {23E28245-8FC7-4B41-B1C5-8785BD4366A7}\r
{8311394F-9114-4C97-80F2-51BCABA054C9} = {8311394F-9114-4C97-80F2-51BCABA054C9}\r
{5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774} = {5DCB55CE-F32C-4C77-8BF4-B4DAD3EC7774}\r
+ {7A36674C-379D-4989-A978-07124E5F852C} = {7A36674C-379D-4989-A978-07124E5F852C}\r
EndProjectSection\r
EndProject\r
Global\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Release|Win32.Build.0 = Release|Win32\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Release|x64.ActiveCfg = Release|x64\r
{2093D218-190E-4194-9421-3BA7CBF33B10}.Release|x64.Build.0 = Release|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|Win32.ActiveCfg = Debug|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|Win32.Build.0 = Debug|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|x64.ActiveCfg = Debug|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Debug|x64.Build.0 = Debug|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|Win32.ActiveCfg = Release|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|Win32.Build.0 = Release|Win32\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|x64.ActiveCfg = Release|x64\r
+ {7A36674C-379D-4989-A978-07124E5F852C}.Release|x64.Build.0 = Release|x64\r
EndGlobalSection\r
GlobalSection(SolutionProperties) = preSolution\r
HideSolutionNode = FALSE\r
#define PACKAGE_NAME "gobject-introspection"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gojbect-introspection 1.47.92"
+#define PACKAGE_STRING "gojbect-introspection 1.48.0"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gobject-introspection"
#define PACKAGE_URL ""
/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.47.92"
+#define PACKAGE_VERSION "1.48.0"
/* Define to the platform's shared library suffix */
#define SHLIB_SUFFIX ".dll"
#define STDC_HEADERS 1
/* Version number of package */
-#define VERSION "1.47.92"
+#define VERSION "1.48.0"
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gobject-introspection 1.47.92.
+# Generated by GNU Autoconf 2.69 for gobject-introspection 1.48.0.
#
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gobject-introspection>.
#
# Identity of this package.
PACKAGE_NAME='gobject-introspection'
PACKAGE_TARNAME='gobject-introspection'
-PACKAGE_VERSION='1.47.92'
-PACKAGE_STRING='gobject-introspection 1.47.92'
+PACKAGE_VERSION='1.48.0'
+PACKAGE_STRING='gobject-introspection 1.48.0'
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gobject-introspection'
PACKAGE_URL=''
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures gobject-introspection 1.47.92 to adapt to many kinds of systems.
+\`configure' configures gobject-introspection 1.48.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of gobject-introspection 1.47.92:";;
+ short | recursive ) echo "Configuration of gobject-introspection 1.48.0:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-gobject-introspection configure 1.47.92
+gobject-introspection configure 1.48.0
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by gobject-introspection $as_me 1.47.92, which was
+It was created by gobject-introspection $as_me 1.48.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='gobject-introspection'
- VERSION='1.47.92'
+ VERSION='1.48.0'
cat >>confdefs.h <<_ACEOF
# Used in docs/reference/version.xml
-GI_VERSION=1.47.92
+GI_VERSION=1.48.0
# Check for Win32
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.47.6\""; } >&5
- ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.47.6") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.48.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.48.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.47.6" 2>/dev/null`
+ pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.48.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.47.6\""; } >&5
- ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.47.6") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.48.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.48.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.47.6" 2>/dev/null`
+ pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.48.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.47.6" 2>&1`
+ GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.48.0" 2>&1`
else
- GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.47.6" 2>&1`
+ GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.48.0" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$GLIB_PKG_ERRORS" >&5
- as_fn_error $? "Package requirements (glib-2.0 >= 2.47.6) were not met:
+ as_fn_error $? "Package requirements (glib-2.0 >= 2.48.0) were not met:
$GLIB_PKG_ERRORS
-ac_config_files="$ac_config_files Makefile tests/Makefile tests/offsets/Makefile tests/scanner/Makefile tests/scanner/annotationparser/Makefile tests/repository/Makefile tests/warn/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc config.h.win32 build/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile build/win32/vs11/Makefile build/win32/vs12/Makefile build/win32/vs14/Makefile"
+ac_config_files="$ac_config_files Makefile tests/Makefile tests/offsets/Makefile tests/scanner/Makefile tests/scanner/annotationparser/Makefile tests/repository/Makefile tests/warn/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc 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"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by gobject-introspection $as_me 1.47.92, which was
+This file was extended by gobject-introspection $as_me 1.48.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-gobject-introspection config.status 1.47.92
+gobject-introspection config.status 1.48.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
"build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
"build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
"build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
+ "build/win32/vs9/gi-version-paths.vsprops") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/gi-version-paths.vsprops" ;;
"build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
+ "build/win32/vs10/gi-version-paths.props") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/gi-version-paths.props" ;;
"build/win32/vs11/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs11/Makefile" ;;
"build/win32/vs12/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs12/Makefile" ;;
"build/win32/vs14/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs14/Makefile" ;;
dnl the gi version number
m4_define(gi_major_version, 1)
-m4_define(gi_minor_version, 47)
-m4_define(gi_micro_version, 92)
+m4_define(gi_minor_version, 48)
+m4_define(gi_micro_version, 0)
m4_define(gi_version, gi_major_version.gi_minor_version.gi_micro_version)
AC_PREREQ([2.63])
AC_SUBST(GIR_DIR)
AC_DEFINE_UNQUOTED(GIR_DIR, "$GIR_DIR", [Director prefix for gir installation])
-PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.47.6])
+PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.48.0])
PKG_CHECK_MODULES(GOBJECT, [gobject-2.0])
PKG_CHECK_MODULES(GMODULE, [gmodule-2.0])
PKG_CHECK_MODULES(GIO, [gio-2.0])
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])
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GObject Introspection Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
- This document is for GObject Introspection version 1.47.92
+ This document is for GObject Introspection version 1.48.0
.
The latest version of this documentation can be found on-line at
<a class="ulink" href="http://developer.gnome.org/gi/unstable/" target="_top">http://developer.gnome.org/gi/unstable/</a>.
* it is no longer required.
*
* Returns: (transfer full): a %NULL-terminated array of the names of the
- * actions in the groupb
+ * actions in the group
* Since: 2.28
*/
* @G_LOG_FLAG_FATAL: internal flag
* @G_LOG_LEVEL_ERROR: log level for errors, see g_error().
* This level is also used for messages produced by g_assert().
- * @G_LOG_LEVEL_CRITICAL: log level for critical messages, see g_critical().
+ * @G_LOG_LEVEL_CRITICAL: log level for critical warning messages, see
+ * g_critical().
* This level is also used for messages produced by g_return_if_fail()
* and g_return_val_if_fail().
* @G_LOG_LEVEL_WARNING: log level for warnings, see g_warning()
SETBIT(marked_vertices, v2);
}
DEBUGP("A:%u %u %u -- %u %u %u\n", v0, v1, v2, GETVALUE(bdz->g, v0), GETVALUE(bdz->g, v1), GETVALUE(bdz->g, v2));
+
+#if (_MSC_VER > 1699 && _MSC_VER < 1800)
+ /* This is bad, MSVC 2012 X64 getting confused with the value of i... */
+ /* an obvious MSVC 2012 X64 compiler bug :| */
+ if (i <= 0)
+ break;
+#endif
+
};
free(marked_vertices);
}
import os
import subprocess
+import tempfile
import sys
import distutils
# Use the dumpbin utility that's included in
# every Visual C++ installation to find out which
- # DLL the library gets linked to
+ # DLL the .lib gets linked to.
+ # dumpbin -symbols something.lib gives the
+ # filename of DLL without the '.dll' extension that something.lib
+ # links to, in the line that contains
+ # __IMPORT_DESCRIPTOR_<dll_filename_that_something.lib_links_to>
args.append('dumpbin.exe')
args.append('-symbols')
break
implib = os.path.join(l, c)
if os.path.exists(implib):
- proc = subprocess.Popen(args + [implib],
- stdout=subprocess.PIPE)
- o, e = proc.communicate()
- for line in o.decode('ascii').splitlines():
- if self.check_is_msvc():
- # On Visual Studio, dumpbin -symbols something.lib gives the
- # filename of DLL without the '.dll' extension that something.lib
- # links to, in the line that contains
- # __IMPORT_DESCRIPTOR_<dll_filename_that_something.lib_links_to>
-
- if '__IMPORT_DESCRIPTOR_' in line:
- line_tokens = line.split()
- for item in line_tokens:
- if item.startswith('__IMPORT_DESCRIPTOR_'):
- shlibs.append(item[20:] + '.dll')
- found = True
- break
- if found:
- break
- else:
+ if self.check_is_msvc():
+ tmp_fd, tmp_filename = \
+ tempfile.mkstemp(prefix='g-ir-win32-resolve-lib-')
+
+ # This is dumb, but it is life... Windows does not like one
+ # trying to write to a file when its FD is not closed first,
+ # when we use a flag in a program to do so. So, close,
+ # write to temp file with dumpbin and *then* re-open the
+ # file for reading.
+ os.close(tmp_fd)
+ output_flag = ['-out:' + tmp_filename]
+ proc = subprocess.call(args + [implib] + output_flag,
+ stdout=subprocess.PIPE)
+ with open(tmp_filename, 'r') as tmp_fileobj:
+ for line in tmp_fileobj.read().splitlines():
+
+ if '__IMPORT_DESCRIPTOR_' in line:
+ line_tokens = line.split()
+ for item in line_tokens:
+ if item.startswith('__IMPORT_DESCRIPTOR_'):
+ shlibs.append(item[20:] + '.dll')
+ found = True
+ break
+ tmp_fileobj.close()
+ os.unlink(tmp_filename)
+ else:
+ proc = subprocess.Popen(args + [implib],
+ stdout=subprocess.PIPE)
+ o, e = proc.communicate()
+ for line in o.decode('ascii').splitlines():
shlibs.append(line)
found = True
break
Name: gobject-introspection
Description: GObject Introspection
-Version: 1.47.92
+Version: 1.48.0
Name: gobject-introspection
Description: GObject Introspection
-Version: 1.47.92
+Version: 1.48.0