<?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
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>
<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>
"
/>
<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"
"
/>
<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"
/>
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>