diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-03-06 15:58:29 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-03-06 15:58:29 +0800 |
commit | 480fb1d6eee13092e50ceb213fcc7eeb4b52e52f (patch) | |
tree | 3a48e1b7edcc7df99c5a52faa64a5a9f06cd80c7 /build/win32 | |
parent | 0d4ab34441a94f65a50fe5b9153fb5f534223610 (diff) | |
download | pango-480fb1d6eee13092e50ceb213fcc7eeb4b52e52f.tar.gz |
Update Visual Studio property sheets
Add commands to be used for building introspection files.
Diffstat (limited to 'build/win32')
-rw-r--r-- | build/win32/vs10/pango.propsin | 40 | ||||
-rw-r--r-- | build/win32/vs9/pango.vspropsin | 33 |
2 files changed, 57 insertions, 16 deletions
diff --git a/build/win32/vs10/pango.propsin b/build/win32/vs10/pango.propsin index b91ce841..750663ad 100644 --- a/build/win32/vs10/pango.propsin +++ b/build/win32/vs10/pango.propsin @@ -1,13 +1,15 @@ <?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>..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot> + <GlibEtcInstallRootFromBuildWin32>..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRootFromBuildWin32> + <CopyDir>$(GlibEtcInstallRoot)</CopyDir> <PangoApiVersion>1.0</PangoApiVersion> <PangoBinaryVersion>1.8.0</PangoBinaryVersion> <PangoDummyPrefix>/dummy</PangoDummyPrefix> <PangoDefines>G_LOG_DOMAIN="Pango";PANGO_ENABLE_BACKEND;PANGO_ENABLE_ENGINE;SYSCONFDIR="$(PangoDummyPrefix)/etc";LIBDIR="$(PangoDummyPrefix)/lib"</PangoDefines> <NoFCDef>PANGO_VISUALC_NO_FC</NoFCDef> - <GlibEtcInstallRoot>..\..\..\..\vs10\$(Platform)</GlibEtcInstallRoot> - <CopyDir>$(GlibEtcInstallRoot)</CopyDir> <PangoDoInstall> echo on @@ -59,12 +61,27 @@ copy ..\..\..\pango\pango-ot.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango copy ..\..\..\pango\pangoft2.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango </PangoInstallFCHeaders> +<DoGenGir> +set VSVER=$(VSVer) + +set CONF=$(Configuration) + +set PLAT=$(Platform) + +set BASEDIR=$(GlibEtcInstallRootFromBuildWin32) + +cd .. + +call gengir_pango.bat + +cd vs$(VSVer) +</DoGenGir> <PangoLibtoolCompatibleDllPrefix>lib</PangoLibtoolCompatibleDllPrefix> <PangoLibtoolCompatibleDllSuffix>-$(PangoApiVersion)-0</PangoLibtoolCompatibleDllSuffix> - <PangoSeparateVS10DllPrefix /> - <PangoSeparateVS10DllSuffix>-1-vs10</PangoSeparateVS10DllSuffix> - <PangoDllPrefix>$(PangoSeparateVS10DllPrefix)</PangoDllPrefix> - <PangoDllSuffix>$(PangoSeparateVS10DllSuffix)</PangoDllSuffix> + <PangoSeparateVSDllPrefix /> + <PangoSeparateVSDllSuffix>-1-vs$(VSVer)</PangoSeparateVSDllSuffix> + <PangoDllPrefix>$(PangoSeparateVSDllPrefix)</PangoDllPrefix> + <PangoDllSuffix>$(PangoSeparateVSDllSuffix)</PangoDllSuffix> </PropertyGroup> <PropertyGroup> <_PropertySheetDisplayName>pangoprops</_PropertySheetDisplayName> @@ -150,17 +167,20 @@ copy ..\..\..\pango\module-defs-win32.c.win32 ..\..\..\pango\DONE_MODULE_DEFS_WI <BuildMacro Include="PangoInstallFCHeaders"> <Value>$(PangoInstallFCHeaders)</Value> </BuildMacro> + <BuildMacro Include="DoGenGir"> + <Value>$(DoGenGir)</Value> + </BuildMacro> <BuildMacro Include="PangoLibtoolCompatibleDllPrefix"> <Value>$(PangoLibtoolCompatibleDllPrefix)</Value> </BuildMacro> <BuildMacro Include="PangoLibtoolCompatibleDllSuffix"> <Value>$(PangoLibtoolCompatibleDllSuffix)</Value> </BuildMacro> - <BuildMacro Include="PangoSeparateVS10DllPrefix"> - <Value>$(PangoSeparateVS10DllPrefix)</Value> + <BuildMacro Include="PangoSeparateVSDllPrefix"> + <Value>$(PangoSeparateVSDllPrefix)</Value> </BuildMacro> - <BuildMacro Include="PangoSeparateVS10DllSuffix"> - <Value>$(PangoSeparateVS10DllSuffix)</Value> + <BuildMacro Include="PangoSeparateVSDllSuffix"> + <Value>$(PangoSeparateVSDllSuffix)</Value> </BuildMacro> <BuildMacro Include="PangoDllPrefix"> <Value>$(PangoDllPrefix)</Value> diff --git a/build/win32/vs9/pango.vspropsin b/build/win32/vs9/pango.vspropsin index 6a6e204c..69873454 100644 --- a/build/win32/vs9/pango.vspropsin +++ b/build/win32/vs9/pango.vspropsin @@ -46,8 +46,16 @@ copy ..\..\..\pango\module-defs-win32.c.win32 ..\..\..\pango\DONE_MODULE_DEFS_WI " /> <UserMacro + Name="VSVer" + Value="9" + /> + <UserMacro Name="GlibEtcInstallRoot" - Value="..\..\..\..\vs9\$(PlatformName)" + Value="..\..\..\..\vs$(VSVer)\$(PlatformName)" + /> + <UserMacro + Name="GlibEtcInstallRootFromBuildWin32" + Value="..\..\..\vs$(VSVer)\$(PlatformName)" /> <UserMacro Name="CopyDir" @@ -110,6 +118,19 @@ copy ..\..\..\pango\pangoft2.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango " /> <UserMacro + Name="DoGenGir" + Value=" +set VSVER=$(VSVer)
 +set CONF=$(ConfigurationName)
 +set PLAT=$(PlatformName)
 +set BASEDIR=$(GlibEtcInstallRootFromBuildWin32)
 + +cd ..
 +call gengir_pango.bat
 +cd vs$(VSVer)
 + " + /> + <UserMacro Name="PangoLibtoolCompatibleDllPrefix" Value="lib" /> @@ -118,21 +139,21 @@ copy ..\..\..\pango\pangoft2.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango Value="-$(PangoApiVersion)-0" /> <UserMacro - Name="PangoSeparateVS9DllPrefix" + Name="PangoSeparateVSDllPrefix" Value="" /> <UserMacro - Name="PangoSeparateVS9DllSuffix" - Value="-1-vs9" + Name="PangoSeparateVSDllSuffix" + Value="-1-vs$(VSVer)" /> <!-- Change these two to PangoLibtoolCompatibleDllPrefix and PangoLibtoolCompatibleDllSuffix if that is what you want --> <UserMacro Name="PangoDllPrefix" - Value="$(PangoSeparateVS9DllPrefix)" + Value="$(PangoSeparateVSDllPrefix)" /> <UserMacro Name="PangoDllSuffix" - Value="$(PangoSeparateVS9DllSuffix)" + Value="$(PangoSeparateVSDllSuffix)" /> </VisualStudioPropertySheet> |