summaryrefslogtreecommitdiff
path: root/build/win32
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2013-03-06 15:58:29 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2013-03-06 15:58:29 +0800
commit480fb1d6eee13092e50ceb213fcc7eeb4b52e52f (patch)
tree3a48e1b7edcc7df99c5a52faa64a5a9f06cd80c7 /build/win32
parent0d4ab34441a94f65a50fe5b9153fb5f534223610 (diff)
downloadpango-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.propsin40
-rw-r--r--build/win32/vs9/pango.vspropsin33
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)&#x0D;&#x0A;
+set CONF=$(ConfigurationName)&#x0D;&#x0A;
+set PLAT=$(PlatformName)&#x0D;&#x0A;
+set BASEDIR=$(GlibEtcInstallRootFromBuildWin32)&#x0D;&#x0A;
+
+cd ..&#x0D;&#x0A;
+call gengir_pango.bat&#x0D;&#x0A;
+cd vs$(VSVer)&#x0D;&#x0A;
+ "
+ />
+ <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>