Skip to content

Commit 444453c

Browse files
committed
Update windows files
1 parent 19ef7ae commit 444453c

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

PCbuild/_freeze_module.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@
260260
<ClCompile Include="..\Python\Python-tokenize.c" />
261261
<ClCompile Include="..\Python\pytime.c" />
262262
<ClCompile Include="..\Python\qsbr.c" />
263+
<ClCompile Include="..\Python\remote_debugging.c" />
263264
<ClCompile Include="..\Python\specialize.c" />
264265
<ClCompile Include="..\Python\structmember.c" />
265266
<ClCompile Include="..\Python\suggestions.c" />

PCbuild/_freeze_module.vcxproj.filters

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,9 @@
406406
<ClCompile Include="..\Objects\sliceobject.c">
407407
<Filter>Source Files</Filter>
408408
</ClCompile>
409+
<ClCompile Include="..\Python\remote_debugging.c">
410+
<Filter>Source Files</Filter>
411+
</ClCompile>
409412
<ClCompile Include="..\Python\specialize.c">
410413
<Filter>Source Files</Filter>
411414
</ClCompile>

PCbuild/build.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ if "%~1"=="--experimental-jit" (set UseJIT=true) & (set UseTIER2=1) & shift & go
9595
if "%~1"=="--experimental-jit-off" (set UseJIT=true) & (set UseTIER2=3) & shift & goto CheckOpts
9696
if "%~1"=="--experimental-jit-interpreter" (set UseTIER2=4) & shift & goto CheckOpts
9797
if "%~1"=="--experimental-jit-interpreter-off" (set UseTIER2=6) & shift & goto CheckOpts
98+
if "%~1"=="--without-remote-debug" (set DisableRemoteDebug=true) & shift & goto CheckOpts
9899
if "%~1"=="--pystats" (set PyStats=1) & shift & goto CheckOpts
99100
if "%~1"=="--tail-call-interp" (set UseTailCallInterp=true) & shift & goto CheckOpts
100101
rem These use the actual property names used by MSBuild. We could just let
@@ -192,6 +193,7 @@ echo on
192193
/p:UseTIER2=%UseTIER2%^
193194
/p:PyStats=%PyStats%^
194195
/p:UseTailCallInterp=%UseTailCallInterp%^
196+
/p:DisableRemoteDebug=%DisableRemoteDebug%^
195197
%1 %2 %3 %4 %5 %6 %7 %8 %9
196198

197199
@echo off

PCbuild/pythoncore.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
<PreprocessorDefinitions Condition="'$(UseTIER2)' != '' and '$(UseTIER2)' != '0'">_Py_TIER2=$(UseTIER2);%(PreprocessorDefinitions)</PreprocessorDefinitions>
109109
<PreprocessorDefinitions Condition="'$(UseTailCallInterp)' == 'true'">Py_TAIL_CALL_INTERP=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
110110
<PreprocessorDefinitions Condition="'$(WITH_COMPUTED_GOTOS)' != ''">HAVE_COMPUTED_GOTOS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
111+
<PreprocessorDefinitions Condition="'$(DisableRemoteDebug)' != 'true'">Py_REMOTE_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
111112
</ClCompile>
112113
<Link>
113114
<AdditionalDependencies>version.lib;ws2_32.lib;pathcch.lib;bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -640,6 +641,7 @@
640641
<ClCompile Include="..\Python\pystrcmp.c" />
641642
<ClCompile Include="..\Python\pystrhex.c" />
642643
<ClCompile Include="..\Python\pystrtod.c" />
644+
<ClCompile Include="..\Python\remote_debugging.c" />
643645
<ClCompile Include="..\Python\qsbr.c" />
644646
<ClCompile Include="..\Python\dtoa.c" />
645647
<ClCompile Include="..\Python\Python-ast.c" />

PCbuild/pythoncore.vcxproj.filters

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,6 +1490,9 @@
14901490
<ClCompile Include="..\Python\pystrtod.c">
14911491
<Filter>Python</Filter>
14921492
</ClCompile>
1493+
<ClCompile Include="..\Python\remote_debugging.c">
1494+
<Filter>Python</Filter>
1495+
</ClCompile>
14931496
<ClCompile Include="..\Python\qsbr.c">
14941497
<Filter>Python</Filter>
14951498
</ClCompile>

0 commit comments

Comments
 (0)