Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c36c3c

Browse files
author
Hirokazu Yamamoto
committed
Updated VS8.0 project files with PCBuild/vs9to8.py.
1 parent 2c2a7e0 commit 2c36c3c

9 files changed

Lines changed: 153 additions & 93 deletions

PC/VS8.0/_multiprocessing.vcproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ProjectType="Visual C++"
44
Version="8.00"
55
Name="_multiprocessing"
6-
ProjectGUID="{9e48b300-37d1-11dd-8c41-005056c00008}"
6+
ProjectGUID="{9E48B300-37D1-11DD-8C41-005056C00008}"
77
RootNamespace="_multiprocessing"
88
Keyword="Win32Proj"
99
TargetFrameworkVersion="196613"

PC/VS8.0/bdist_wininst.vcproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
AdditionalIncludeDirectories="..\..\PC\bdist_wininst;..\..\Include;..\..\Modules\zlib"
5656
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
5757
StringPooling="true"
58-
RuntimeLibrary="2"
58+
RuntimeLibrary="0"
5959
EnableFunctionLevelLinking="true"
6060
WarningLevel="3"
6161
SuppressStartupBanner="true"
@@ -145,7 +145,7 @@
145145
AdditionalIncludeDirectories="..\..\PC\bdist_wininst;..\..\Include;..\..\Modules\zlib"
146146
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
147147
StringPooling="true"
148-
RuntimeLibrary="2"
148+
RuntimeLibrary="0"
149149
EnableFunctionLevelLinking="true"
150150
WarningLevel="3"
151151
SuppressStartupBanner="true"

PC/VS8.0/bz2.vcproj

Lines changed: 60 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<Tool
4444
Name="VCCLCompilerTool"
4545
AdditionalIncludeDirectories="$(bz2Dir)"
46+
PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64"
4647
/>
4748
<Tool
4849
Name="VCManagedResourceCompilerTool"
@@ -52,12 +53,10 @@
5253
/>
5354
<Tool
5455
Name="VCPreLinkEventTool"
55-
Description="Build libbz2"
56-
CommandLine="cd $(bz2Dir)&#x0D;&#x0A;if exist $(PlatformName)-Debug\libbz2.lib exit 0&#x0D;&#x0A;if not exist $(PlatformName)-Debug mkdir $(PlatformName)-Debug&#x0D;&#x0A;nmake /nologo /f makefile.msc lib&#x0D;&#x0A;copy libbz2.lib $(PlatformName)-Debug&#x0D;&#x0A;nmake /nologo /f makefile.msc clean&#x0D;&#x0A;"
5756
/>
5857
<Tool
5958
Name="VCLinkerTool"
60-
AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Debug\libbz2.lib"
59+
BaseAddress="0x1D170000"
6160
/>
6261
<Tool
6362
Name="VCALinkTool"
@@ -106,6 +105,7 @@
106105
<Tool
107106
Name="VCCLCompilerTool"
108107
AdditionalIncludeDirectories="$(bz2Dir)"
108+
PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64"
109109
/>
110110
<Tool
111111
Name="VCManagedResourceCompilerTool"
@@ -115,12 +115,10 @@
115115
/>
116116
<Tool
117117
Name="VCPreLinkEventTool"
118-
Description="Build libbz2"
119-
CommandLine="cd $(bz2Dir)&#x0D;&#x0A;if exist $(PlatformName)-Debug\libbz2.lib exit 0&#x0D;&#x0A;if not exist $(PlatformName)-Debug mkdir $(PlatformName)-Debug&#x0D;&#x0A;nmake /nologo /f makefile.msc lib&#x0D;&#x0A;copy libbz2.lib $(PlatformName)-Debug&#x0D;&#x0A;nmake /nologo /f makefile.msc clean&#x0D;&#x0A;"
120118
/>
121119
<Tool
122120
Name="VCLinkerTool"
123-
AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Debug\libbz2.lib"
121+
BaseAddress="0x1D170000"
124122
/>
125123
<Tool
126124
Name="VCALinkTool"
@@ -169,6 +167,7 @@
169167
<Tool
170168
Name="VCCLCompilerTool"
171169
AdditionalIncludeDirectories="$(bz2Dir)"
170+
PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64"
172171
/>
173172
<Tool
174173
Name="VCManagedResourceCompilerTool"
@@ -178,12 +177,10 @@
178177
/>
179178
<Tool
180179
Name="VCPreLinkEventTool"
181-
Description="Build libbz2"
182-
CommandLine="cd $(bz2Dir)&#x0D;&#x0A;if exist $(PlatformName)-Release\libbz2.lib exit 0&#x0D;&#x0A;if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc lib&#x0D;&#x0A;copy libbz2.lib $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc clean&#x0D;&#x0A;"
183180
/>
184181
<Tool
185182
Name="VCLinkerTool"
186-
AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib"
183+
BaseAddress="0x1D170000"
187184
/>
188185
<Tool
189186
Name="VCALinkTool"
@@ -233,6 +230,7 @@
233230
<Tool
234231
Name="VCCLCompilerTool"
235232
AdditionalIncludeDirectories="$(bz2Dir)"
233+
PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64"
236234
/>
237235
<Tool
238236
Name="VCManagedResourceCompilerTool"
@@ -242,12 +240,10 @@
242240
/>
243241
<Tool
244242
Name="VCPreLinkEventTool"
245-
Description="Build libbz2"
246-
CommandLine="cd $(bz2Dir)&#x0D;&#x0A;if exist $(PlatformName)-Release\libbz2.lib exit 0&#x0D;&#x0A;if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc lib&#x0D;&#x0A;copy libbz2.lib $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc clean&#x0D;&#x0A;"
247243
/>
248244
<Tool
249245
Name="VCLinkerTool"
250-
AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib"
246+
BaseAddress="0x1D170000"
251247
/>
252248
<Tool
253249
Name="VCALinkTool"
@@ -296,6 +292,7 @@
296292
<Tool
297293
Name="VCCLCompilerTool"
298294
AdditionalIncludeDirectories="$(bz2Dir)"
295+
PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64"
299296
/>
300297
<Tool
301298
Name="VCManagedResourceCompilerTool"
@@ -305,12 +302,10 @@
305302
/>
306303
<Tool
307304
Name="VCPreLinkEventTool"
308-
Description="Build libbz2"
309-
CommandLine="cd $(bz2Dir)&#x0D;&#x0A;if exist $(PlatformName)-Release\libbz2.lib exit 0&#x0D;&#x0A;if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc lib&#x0D;&#x0A;copy libbz2.lib $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc clean&#x0D;&#x0A;"
310305
/>
311306
<Tool
312307
Name="VCLinkerTool"
313-
AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib"
308+
BaseAddress="0x1D170000"
314309
/>
315310
<Tool
316311
Name="VCALinkTool"
@@ -360,6 +355,7 @@
360355
<Tool
361356
Name="VCCLCompilerTool"
362357
AdditionalIncludeDirectories="$(bz2Dir)"
358+
PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64"
363359
/>
364360
<Tool
365361
Name="VCManagedResourceCompilerTool"
@@ -369,12 +365,10 @@
369365
/>
370366
<Tool
371367
Name="VCPreLinkEventTool"
372-
Description="Build libbz2"
373-
CommandLine="cd $(bz2Dir)&#x0D;&#x0A;if exist $(PlatformName)-Release\libbz2.lib exit 0&#x0D;&#x0A;if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc lib&#x0D;&#x0A;copy libbz2.lib $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc clean&#x0D;&#x0A;"
374368
/>
375369
<Tool
376370
Name="VCLinkerTool"
377-
AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib"
371+
BaseAddress="0x1D170000"
378372
TargetMachine="17"
379373
/>
380374
<Tool
@@ -424,6 +418,7 @@
424418
<Tool
425419
Name="VCCLCompilerTool"
426420
AdditionalIncludeDirectories="$(bz2Dir)"
421+
PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64"
427422
/>
428423
<Tool
429424
Name="VCManagedResourceCompilerTool"
@@ -433,12 +428,10 @@
433428
/>
434429
<Tool
435430
Name="VCPreLinkEventTool"
436-
Description="Build libbz2"
437-
CommandLine="cd $(bz2Dir)&#x0D;&#x0A;if exist $(PlatformName)-Release\libbz2.lib exit 0&#x0D;&#x0A;if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc lib&#x0D;&#x0A;copy libbz2.lib $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc clean&#x0D;&#x0A;"
438431
/>
439432
<Tool
440433
Name="VCLinkerTool"
441-
AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib"
434+
BaseAddress="0x1D170000"
442435
/>
443436
<Tool
444437
Name="VCALinkTool"
@@ -488,6 +481,7 @@
488481
<Tool
489482
Name="VCCLCompilerTool"
490483
AdditionalIncludeDirectories="$(bz2Dir)"
484+
PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64"
491485
/>
492486
<Tool
493487
Name="VCManagedResourceCompilerTool"
@@ -497,12 +491,10 @@
497491
/>
498492
<Tool
499493
Name="VCPreLinkEventTool"
500-
Description="Build libbz2"
501-
CommandLine="cd $(bz2Dir)&#x0D;&#x0A;if exist $(PlatformName)-Release\libbz2.lib exit 0&#x0D;&#x0A;if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc lib&#x0D;&#x0A;copy libbz2.lib $(PlatformName)-Release&#x0D;&#x0A;nmake /nologo /f makefile.msc clean&#x0D;&#x0A;"
502494
/>
503495
<Tool
504496
Name="VCLinkerTool"
505-
AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib"
497+
BaseAddress="0x1D170000"
506498
TargetMachine="17"
507499
/>
508500
<Tool
@@ -539,6 +531,50 @@
539531
>
540532
</File>
541533
</Filter>
534+
<Filter
535+
Name="bzip2 1.0.5 Header Files"
536+
>
537+
<File
538+
RelativePath="$(bz2Dir)\bzlib.h"
539+
>
540+
</File>
541+
<File
542+
RelativePath="$(bz2Dir)\bzlib_private.h"
543+
>
544+
</File>
545+
</Filter>
546+
<Filter
547+
Name="bzip2 1.0.5 Source Files"
548+
>
549+
<File
550+
RelativePath="$(bz2Dir)\blocksort.c"
551+
>
552+
</File>
553+
<File
554+
RelativePath="$(bz2Dir)\bzlib.c"
555+
>
556+
</File>
557+
<File
558+
RelativePath="$(bz2Dir)\compress.c"
559+
>
560+
</File>
561+
<File
562+
RelativePath="$(bz2Dir)\crctable.c"
563+
>
564+
</File>
565+
<File
566+
RelativePath="$(bz2Dir)\decompress.c"
567+
>
568+
</File>
569+
<File
570+
RelativePath="$(bz2Dir)\huffman.c"
571+
>
572+
</File>
573+
<File
574+
RelativePath="$(bz2Dir)\randtable.c"
575+
>
576+
</File>
577+
</Filter>
542578
</Files>
543579
<Globals>
544580
</Globals>

PC/VS8.0/pyd.vsprops

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="Windows-1252"?>
1+
22
<VisualStudioPropertySheet
33
ProjectType="Visual C++"
44
Version="8.00"
@@ -15,6 +15,11 @@
1515
OutputFile="$(OutDir)\$(ProjectName).pyd"
1616
ProgramDatabaseFile="$(OutDir)\$(ProjectName).pdb"
1717
ImportLibrary="$(OutDir)\$(TargetName).lib"
18+
GenerateManifest="false"
19+
/>
20+
<Tool
21+
Name="VCManifestTool"
22+
EmbedManifest="false"
1823
/>
1924
<Tool
2025
Name="VCPostBuildEventTool"

PC/VS8.0/pyd_d.vsprops

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
LinkIncremental="1"
2020
ProgramDatabaseFile="$(OutDir)\$(ProjectName)_d.pdb"
2121
ImportLibrary="$(OutDir)\$(TargetName).lib"
22+
GenerateManifest="false"
23+
/>
24+
<Tool
25+
Name="VCManifestTool"
26+
EmbedManifest="false"
2227
/>
2328
<Tool
2429
Name="VCPostBuildEventTool"

PC/VS8.0/pyproject.vsprops

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
/>
5959
<UserMacro
6060
Name="opensslDir"
61-
Value="$(externalsDir)\openssl-0.9.8g"
61+
Value="$(externalsDir)\openssl-0.9.8l"
6262
/>
6363
<UserMacro
6464
Name="tcltkDir"

0 commit comments

Comments
 (0)