File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -23,24 +23,21 @@ SET WIN_WDK="c:\Program Files (x86)\Windows Kits\10\Include\wdf"
2323ECHO SDK: %WINDOWS_SDK_VERSION% ARCH: %PYTHON_ARCH%
2424
2525
26- IF " %PYTHON_VERSION% " == " 3.5" (
27- IF EXIST %WIN_WDK% (
28- REM See: https://connect.microsoft.com/VisualStudio/feedback/details/1610302/
29- REN %WIN_WDK% 0wdf
30- )
31- GOTO main
32- )
26+ IF " %PYTHON_VERSION% " == " 3.5" GOTO main
27+ IF " %PYTHON_VERSION% " == " 3.6" GOTO main
28+ IF " %PYTHON_ARCH% " == " 32" GOTO main
3329
34- IF " %PYTHON_ARCH% " == " 32" (
35- GOTO main
36- )
3730
3831SET DISTUTILS_USE_SDK = 1
3932SET MSSdk = 1
4033" %WIN_SDK_ROOT% \%WINDOWS_SDK_VERSION% \Setup\WindowsSdkVer.exe" -q -version:%WINDOWS_SDK_VERSION%
4134CALL " %WIN_SDK_ROOT% \%WINDOWS_SDK_VERSION% \Bin\SetEnv.cmd" /x64 /release
4235
4336:main
37+ IF EXIST %WIN_WDK% (
38+ REM See: https://connect.microsoft.com/VisualStudio/feedback/details/1610302/
39+ REN %WIN_WDK% 0wdf
40+ )
4441
4542ECHO Executing: %COMMAND_TO_RUN%
4643CALL %COMMAND_TO_RUN% || EXIT 1
You can’t perform that action at this time.
0 commit comments