mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
213c31a49d
The previous commit to glib/glibconfig.h.win32.in, though it improves the state of GLib and fixes bugs, cannot be used as a drop-in replacement for code that builds against the previous glib/glibconfig.h(.win32.in) that were build using the Visual Studio projects. Change the DLL names as a result so that the likelihood of problems caused by replacing existing GLib DLLs can be reduced--code that was built against previous GLib MSVC builds should be rebuilt, so that things will work with the newer DLLs, instead of depending on the older DLLs. Note that if Visual Studio builds are done through Meson, existing code that link against GLib should be rebuilt as well, for the same reason. DLLs built with the Visual Studio projects from 2.55.0 onwards should be compatible with the ones that are built with Visual Studio via Meson.
47 lines
1.8 KiB
XML
47 lines
1.8 KiB
XML
<?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>
|
|
<GlibVersion>@GLIB_VERSION@</GlibVersion>
|
|
<ApiVersion>2.0</ApiVersion>
|
|
<GlibEtcInstallRoot>..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
|
|
<CopyDir>$(GlibEtcInstallRoot)</CopyDir>
|
|
<GlibDllPrefix></GlibDllPrefix>
|
|
<GlibDllSuffix>-2.0-0</GlibDllSuffix>
|
|
<PythonDir Condition="'$(VisualStudioVersion)' == '10.0'">c:\python34</PythonDir>
|
|
<PythonDir Condition="'$(VisualStudioVersion)' == '11.0'">c:\python34</PythonDir>
|
|
<PythonDir Condition="'$(VisualStudioVersion)' == '12.0'">c:\python34</PythonDir>
|
|
<PythonDir Condition="'$(VisualStudioVersion)' == '14.0'">c:\python36</PythonDir>
|
|
<PythonDir Condition="'$(VisualStudioVersion)' == '15.0'">c:\python36</PythonDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<_PropertySheetDisplayName>glibversionpathsprops</_PropertySheetDisplayName>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<BuildMacro Include="VSVer">
|
|
<Value>$(VSVer)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GlibVersion">
|
|
<Value>$(GlibVersion)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="ApiVersion">
|
|
<Value>$(ApiVersion)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GlibEtcInstallRoot">
|
|
<Value>$(GlibEtcInstallRoot)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CopyDir">
|
|
<Value>$(CopyDir)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GlibDllPrefix">
|
|
<Value>$(GlibDllPrefix)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GlibDllSuffix">
|
|
<Value>$(GlibDllSuffix)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="PythonDir">
|
|
<Value>$(PythonDir)</Value>
|
|
</BuildMacro>
|
|
</ItemGroup>
|
|
</Project>
|