forked from AuroraMiddleware/gtk
build: Set PythonDir according to MSVC version in projects
This is to make this more in-line with what is in the G-I projects, so that we could use this to build the introspection files for GTK+-3.22.x directly from the project files. This is intended to follow the MSVC versions used to build the official CPython Windows binaries, i.e.: -3.3.x, 3.4.x: for MSVC 2010, 2012, 2013, which is built with 2010 -3.5.x, 3.6.x: for 2015 and 2017, which is built with 2015.
This commit is contained in:
parent
74ffc85b80
commit
24fd61512b
@ -12,7 +12,11 @@
|
||||
<GtkSeparateVSDllSuffix>-vs$(VSVer)</GtkSeparateVSDllSuffix>
|
||||
<GtkDllPrefix>$(GtkSeparateVSDllPrefix)</GtkDllPrefix>
|
||||
<GtkDllSuffix>$(GtkSeparateVSDllSuffix)</GtkDllSuffix>
|
||||
<PythonDir>c:\python34</PythonDir>
|
||||
<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>
|
||||
<PythonDirX64>$(PythonDir).x64</PythonDirX64>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user