mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
MSVC 201x builds: Allow different Python versions per toolset
Use conditionals to select the Python installation, so that we can more stick to the default Visual Studio versions used to compile each official Python releases more closely. This means by default: -2010/2012/2013 builds use Python 3.4.x, which is built with 2010 -2015/2017 builds use Python 3.6.x, which is built with 2015
This commit is contained in:
parent
a00e7ed32e
commit
7d64d109f0
@ -12,7 +12,11 @@
|
|||||||
<GlibSeparateVSDllSuffix>-2-vs$(VSVer)</GlibSeparateVSDllSuffix>
|
<GlibSeparateVSDllSuffix>-2-vs$(VSVer)</GlibSeparateVSDllSuffix>
|
||||||
<GlibDllPrefix>$(GlibSeparateVSDllPrefix)</GlibDllPrefix>
|
<GlibDllPrefix>$(GlibSeparateVSDllPrefix)</GlibDllPrefix>
|
||||||
<GlibDllSuffix>$(GlibSeparateVSDllSuffix)</GlibDllSuffix>
|
<GlibDllSuffix>$(GlibSeparateVSDllSuffix)</GlibDllSuffix>
|
||||||
<PythonPath>c:\python27</PythonPath>
|
<PythonPath Condition="'$(VisualStudioVersion)' == '10.0'">c:\python34</PythonPath>
|
||||||
|
<PythonPath Condition="'$(VisualStudioVersion)' == '11.0'">c:\python34</PythonPath>
|
||||||
|
<PythonPath Condition="'$(VisualStudioVersion)' == '12.0'">c:\python34</PythonPath>
|
||||||
|
<PythonPath Condition="'$(VisualStudioVersion)' == '14.0'">c:\python36</PythonPath>
|
||||||
|
<PythonPath Condition="'$(VisualStudioVersion)' == '15.0'">c:\python36</PythonPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_PropertySheetDisplayName>glibversionpathsprops</_PropertySheetDisplayName>
|
<_PropertySheetDisplayName>glibversionpathsprops</_PropertySheetDisplayName>
|
||||||
|
Loading…
Reference in New Issue
Block a user