summaryrefslogtreecommitdiff
path: root/win32/vs9/atk-install.vspropsin
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2017-07-13 17:31:07 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2017-07-13 17:31:07 +0800
commit62769abbe997022db2cb6539dd2fef08acefe243 (patch)
tree13d6a94c3444cca0ffafa19bce8c28f9a860cd31 /win32/vs9/atk-install.vspropsin
parent4266822d4b5227b55706993840a913fb6b15b2cd (diff)
downloadatk-62769abbe997022db2cb6539dd2fef08acefe243.tar.gz
MSVC Builds: Use PythonDir instead of PythonPath
If someone is building using MSBuild, we want to make sure that we do not use an envvar that would also determine where the Python modules are loaded. Also, allow different Python paths depending on the Visual Studio version that is being used for Visual Studio 201x builds, to better suit the version of Visual Studio that is used to build the official releases of Python, which means the default is as follows: -Visual Studio 2010, 2012, 2013: Python 3.4.x, which is built with 2010 -Visual Studio 2015 and 2017: Python 3.6.x, which is built with 2015.
Diffstat (limited to 'win32/vs9/atk-install.vspropsin')
-rw-r--r--win32/vs9/atk-install.vspropsin4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/vs9/atk-install.vspropsin b/win32/vs9/atk-install.vspropsin
index 880dad5..dcb22d4 100644
--- a/win32/vs9/atk-install.vspropsin
+++ b/win32/vs9/atk-install.vspropsin
@@ -25,10 +25,10 @@ copy ..\atk.pc $(CopyDir)\lib\pkgconfig&#x0D;&#x0A;
/>
<UserMacro
Name="AtkGenPC"
- Value="$(PythonPath)\python.exe ..\atkpc.py --prefix=$(CopyDir) --version=$(AtkMajorVersion).$(AtkMinorVersion).$(AtkMicroVersion)"
+ Value="$(PythonDir)\python.exe ..\atkpc.py --prefix=$(CopyDir) --version=$(AtkMajorVersion).$(AtkMinorVersion).$(AtkMicroVersion)"
/>
<UserMacro
Name="AtkGenPCX64"
- Value="$(PythonPathX64)\python.exe ..\atkpc.py --prefix=$(CopyDir) --version=$(AtkMajorVersion).$(AtkMinorVersion).$(AtkMicroVersion)"
+ Value="$(PythonDirX64)\python.exe ..\atkpc.py --prefix=$(CopyDir) --version=$(AtkMajorVersion).$(AtkMinorVersion).$(AtkMicroVersion)"
/>
</VisualStudioPropertySheet>