diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-03-18 18:18:01 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-03-18 18:18:01 +0800 |
commit | bc71638fd6bfe27c33cce948d0fbb64292dbc109 (patch) | |
tree | 48332c7408a3abe96f5d2b2883958ecd8b36ebcf /build/win32/vs10/gi-install.propsin | |
parent | b13dc3f35e0920137984fe9313d21bd50b081ff6 (diff) | |
download | gobject-introspection-bc71638fd6bfe27c33cce948d0fbb64292dbc109.tar.gz |
MSVC builds: Generate the .pc files
Generate the .pc files as part of the build of the Visual Studio projects,
and "install" them to $(CopyDir)\lib\pkgconfig, so that it would make it
easier for packages building introspection to find the .pc files for g-i
for Visual Studio builds.
Diffstat (limited to 'build/win32/vs10/gi-install.propsin')
-rw-r--r-- | build/win32/vs10/gi-install.propsin | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/build/win32/vs10/gi-install.propsin b/build/win32/vs10/gi-install.propsin index c463a6c4..1b112988 100644 --- a/build/win32/vs10/gi-install.propsin +++ b/build/win32/vs10/gi-install.propsin @@ -69,7 +69,14 @@ 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) -</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> @@ -81,5 +88,14 @@ copy ..\win32-1.0.typelib $(CopyDir)\lib\girepository-$(ApiVersion) <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> |