Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b0660582
Commit
b0660582
authored
Apr 06, 2016
by
Steve Dower
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds version info to all signed binaries on Windows.
parent
48842714
Changes
34
Hide whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
139 additions
and
16 deletions
+139
-16
PC/bdist_wininst/bdist_wininst.vcxproj
PC/bdist_wininst/bdist_wininst.vcxproj
+0
-1
PC/python_ver_rc.h
PC/python_ver_rc.h
+2
-2
PC/sqlite3.rc
PC/sqlite3.rc
+49
-0
PCbuild/_bz2.vcxproj
PCbuild/_bz2.vcxproj
+3
-0
PCbuild/_ctypes.vcxproj
PCbuild/_ctypes.vcxproj
+3
-0
PCbuild/_ctypes_test.vcxproj
PCbuild/_ctypes_test.vcxproj
+3
-0
PCbuild/_decimal.vcxproj
PCbuild/_decimal.vcxproj
+3
-0
PCbuild/_elementtree.vcxproj
PCbuild/_elementtree.vcxproj
+3
-0
PCbuild/_hashlib.vcxproj
PCbuild/_hashlib.vcxproj
+3
-0
PCbuild/_lzma.vcxproj
PCbuild/_lzma.vcxproj
+3
-0
PCbuild/_msi.vcxproj
PCbuild/_msi.vcxproj
+3
-0
PCbuild/_multiprocessing.vcxproj
PCbuild/_multiprocessing.vcxproj
+3
-0
PCbuild/_overlapped.vcxproj
PCbuild/_overlapped.vcxproj
+3
-0
PCbuild/_socket.vcxproj
PCbuild/_socket.vcxproj
+3
-0
PCbuild/_sqlite3.vcxproj
PCbuild/_sqlite3.vcxproj
+3
-0
PCbuild/_ssl.vcxproj
PCbuild/_ssl.vcxproj
+3
-0
PCbuild/_testbuffer.vcxproj
PCbuild/_testbuffer.vcxproj
+3
-0
PCbuild/_testcapi.vcxproj
PCbuild/_testcapi.vcxproj
+3
-0
PCbuild/_testembed.vcxproj
PCbuild/_testembed.vcxproj
+3
-0
PCbuild/_testimportmultiple.vcxproj
PCbuild/_testimportmultiple.vcxproj
+3
-0
PCbuild/_testmultiphase.vcxproj
PCbuild/_testmultiphase.vcxproj
+3
-0
PCbuild/_tkinter.vcxproj
PCbuild/_tkinter.vcxproj
+3
-0
PCbuild/pyexpat.vcxproj
PCbuild/pyexpat.vcxproj
+3
-0
PCbuild/pylauncher.vcxproj
PCbuild/pylauncher.vcxproj
+0
-1
PCbuild/pyproject.props
PCbuild/pyproject.props
+7
-7
PCbuild/python.vcxproj
PCbuild/python.vcxproj
+0
-1
PCbuild/python3dll.vcxproj
PCbuild/python3dll.vcxproj
+0
-1
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj
+0
-1
PCbuild/pythonw.vcxproj
PCbuild/pythonw.vcxproj
+0
-1
PCbuild/pywlauncher.vcxproj
PCbuild/pywlauncher.vcxproj
+0
-1
PCbuild/select.vcxproj
PCbuild/select.vcxproj
+3
-0
PCbuild/sqlite3.vcxproj
PCbuild/sqlite3.vcxproj
+12
-0
PCbuild/unicodedata.vcxproj
PCbuild/unicodedata.vcxproj
+3
-0
PCbuild/winsound.vcxproj
PCbuild/winsound.vcxproj
+3
-0
No files found.
PC/bdist_wininst/bdist_wininst.vcxproj
View file @
b0660582
...
...
@@ -37,7 +37,6 @@
<PropertyGroup
Label=
"Globals"
>
<ProjectGuid>
{EB1C19C1-1F18-421E-9735-CAEE69DC6A3C}
</ProjectGuid>
<RootNamespace>
wininst
</RootNamespace>
<MakeVersionInfoBeforeTarget>
ClCompile
</MakeVersionInfoBeforeTarget>
<SupportPGO>
false
</SupportPGO>
</PropertyGroup>
<Import
Project=
"..\..\PCBuild\python.props"
/>
...
...
PC/python_ver_rc.h
View file @
b0660582
...
...
@@ -10,10 +10,10 @@
#include "modsupport.h"
#include "patchlevel.h"
#ifdef _DEBUG
# include
"pythonnt_rc_d.h"
# include
<pythonnt_rc_d.h>
# define PYTHON_DEBUG_EXT "_d"
#else
# include
"pythonnt_rc.h"
# include
<pythonnt_rc.h>
# define PYTHON_DEBUG_EXT
#endif
...
...
PC/sqlite3.rc
0 → 100644
View file @
b0660582
// Resource script for Sqlite DLL.
#include <winver.h>
// Include the manifest file that indicates we support all
// current versions of Windows.
#include <winuser.h>
2 RT_MANIFEST "python.manifest"
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
#define _S(x) #x
#define S(x) _S(x)
VS_VERSION_INFO VERSIONINFO
FILEVERSION SQLITE_MAJOR_VERSION, SQLITE_MINOR_VERSION, SQLITE_MICRO_VERSION, SQLITE_PATCH_VERSION
PRODUCTVERSION SQLITE_MAJOR_VERSION, SQLITE_MINOR_VERSION, SQLITE_MICRO_VERSION, SQLITE_PATCH_VERSION
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "000004b0"
BEGIN
VALUE "CompanyName", "SQLite3\0"
VALUE "FileDescription", "SQLite3\0"
VALUE "FileVersion", S(SQLITE_VERSION) "\0"
VALUE "InternalName", "SQLite3 DLL\0"
VALUE "LegalCopyright", "Unspecified\0"
VALUE "OriginalFilename", "sqlite3.dll\0"
VALUE "ProductName", "SQLite3\0"
VALUE "ProductVersion", S(SQLITE_VERSION) "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0, 1200
END
END
PCbuild/_bz2.vcxproj
View file @
b0660582
...
...
@@ -83,6 +83,9 @@
<ClInclude
Include=
"$(bz2Dir)\bzlib.h"
/>
<ClInclude
Include=
"$(bz2Dir)\bzlib_private.h"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_ctypes.vcxproj
View file @
b0660582
...
...
@@ -96,6 +96,9 @@
<Outputs>
$(IntDir)win64.obj;%(Outputs)
</Outputs>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_ctypes_test.vcxproj
View file @
b0660582
...
...
@@ -66,6 +66,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\_ctypes\_ctypes_test.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_decimal.vcxproj
View file @
b0660582
...
...
@@ -113,6 +113,9 @@
<Outputs>
$(IntDir)vcdiv64.obj;%(Outputs)
</Outputs>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_elementtree.vcxproj
View file @
b0660582
...
...
@@ -91,6 +91,9 @@
<ClCompile
Include=
"..\Modules\expat\xmlrole.c"
/>
<ClCompile
Include=
"..\Modules\expat\xmltok.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_hashlib.vcxproj
View file @
b0660582
...
...
@@ -70,6 +70,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\_hashopenssl.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_lzma.vcxproj
View file @
b0660582
...
...
@@ -73,6 +73,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\_lzmamodule.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_msi.vcxproj
View file @
b0660582
...
...
@@ -68,6 +68,9 @@
<ItemGroup>
<ClCompile
Include=
"..\PC\_msi.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_multiprocessing.vcxproj
View file @
b0660582
...
...
@@ -72,6 +72,9 @@
<ClCompile
Include=
"..\Modules\_multiprocessing\multiprocessing.c"
/>
<ClCompile
Include=
"..\Modules\_multiprocessing\semaphore.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_overlapped.vcxproj
View file @
b0660582
...
...
@@ -68,6 +68,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\overlapped.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_socket.vcxproj
View file @
b0660582
...
...
@@ -71,6 +71,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\socketmodule.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_sqlite3.vcxproj
View file @
b0660582
...
...
@@ -90,6 +90,9 @@
<ClCompile
Include=
"..\Modules\_sqlite\statement.c"
/>
<ClCompile
Include=
"..\Modules\_sqlite\util.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_ssl.vcxproj
View file @
b0660582
...
...
@@ -70,6 +70,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\_ssl.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_testbuffer.vcxproj
View file @
b0660582
...
...
@@ -68,6 +68,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\_testbuffer.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_testcapi.vcxproj
View file @
b0660582
...
...
@@ -68,6 +68,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\_testcapimodule.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_testembed.vcxproj
View file @
b0660582
...
...
@@ -65,6 +65,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Programs\_testembed.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_testimportmultiple.vcxproj
View file @
b0660582
...
...
@@ -68,6 +68,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\_testimportmultiple.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_testmultiphase.vcxproj
View file @
b0660582
...
...
@@ -68,6 +68,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\_testmultiphase.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/_tkinter.vcxproj
View file @
b0660582
...
...
@@ -73,6 +73,9 @@
<ClCompile
Include=
"..\Modules\_tkinter.c"
/>
<ClCompile
Include=
"..\Modules\tkappinit.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/pyexpat.vcxproj
View file @
b0660582
...
...
@@ -72,6 +72,9 @@
<ClCompile
Include=
"..\Modules\expat\xmlrole.c"
/>
<ClCompile
Include=
"..\Modules\expat\xmltok.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/pylauncher.vcxproj
View file @
b0660582
...
...
@@ -38,7 +38,6 @@
<ProjectGuid>
{7B2727B5-5A3F-40EE-A866-43A13CD31446}
</ProjectGuid>
<RootNamespace>
pylauncher
</RootNamespace>
<TargetName>
py
</TargetName>
<MakeVersionInfoBeforeTarget>
ClCompile
</MakeVersionInfoBeforeTarget>
<SupportPGO>
false
</SupportPGO>
</PropertyGroup>
<Import
Project=
"python.props"
/>
...
...
PCbuild/pyproject.props
View file @
b0660582
...
...
@@ -75,7 +75,7 @@
<LinkTimeCodeGeneration
Condition=
"$(SupportPGO) and $(Configuration) == 'PGUpdate'"
>
true
</LinkTimeCodeGeneration>
</Lib>
<ResourceCompile>
<AdditionalIncludeDirectories>
$(PySourcePath)PC;$(PySourcePath)Include;%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>
$(PySourcePath)PC;$(PySourcePath)Include;
$(IntDir);
%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<PreprocessorDefinitions>
$(_DebugPreprocessorDefinition)%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<Culture>
0x0409
</Culture>
</ResourceCompile>
...
...
@@ -92,17 +92,17 @@
</ItemDefinitionGroup>
<Target
Name=
"GeneratePythonNtRcH"
BeforeTargets=
"
$(MakeVersionInfoBeforeTarget)
"
BeforeTargets=
"
ClCompile
"
Inputs=
"$(PySourcePath)Include\patchlevel.h"
Outputs=
"$(
PySourcePath)PC\pythonnt_rc$(PyDebugExt)
.h"
>
<WriteLinesToFile
File=
"$(
PySourcePath)PC\pythonnt_rc$(PyDebugExt)
.h"
Overwrite=
"true"
Encoding=
"ascii"
Lines=
'/* This file created by py
thon
.props /t:GeneratePythonNtRcH */
Outputs=
"$(
IntDir)pythonnt_rc
.h"
>
<WriteLinesToFile
File=
"$(
IntDir)pythonnt_rc
.h"
Overwrite=
"true"
Encoding=
"ascii"
Lines=
'/* This file created by py
project
.props /t:GeneratePythonNtRcH */
#define FIELD3 $(Field3Value)
#define MS_DLL_ID "$(SysWinVer)"
#define PYTHON_DLL_NAME "$(
PyDllName).dll
"
#define PYTHON_DLL_NAME "$(
TargetName)$(TargetExt)
"
'
/>
<ItemGroup>
<FileWrites
Include=
"$(
PySourcePath)PC\pythonnt_rc$(PyDebugExt)
.h"
/>
<FileWrites
Include=
"$(
IntDir)pythonnt_rc
.h"
/>
</ItemGroup>
</Target>
...
...
PCbuild/python.vcxproj
View file @
b0660582
...
...
@@ -36,7 +36,6 @@
</ItemGroup>
<PropertyGroup
Label=
"Globals"
>
<ProjectGuid>
{B11D750F-CD1F-4A96-85CE-E69A5C5259F9}
</ProjectGuid>
<MakeVersionInfoBeforeTarget>
ClCompile
</MakeVersionInfoBeforeTarget>
</PropertyGroup>
<Import
Project=
"python.props"
/>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.Default.props"
/>
...
...
PCbuild/python3dll.vcxproj
View file @
b0660582
...
...
@@ -39,7 +39,6 @@
<RootNamespace>
python3dll
</RootNamespace>
<Keyword>
Win32Proj
</Keyword>
<TargetName>
python3
</TargetName>
<MakeVersionInfoBeforeTarget>
ClCompile
</MakeVersionInfoBeforeTarget>
<SupportPGO>
false
</SupportPGO>
</PropertyGroup>
<Import
Project=
"python.props"
/>
...
...
PCbuild/pythoncore.vcxproj
View file @
b0660582
...
...
@@ -48,7 +48,6 @@
<ImportGroup
Label=
"ExtensionSettings"
>
</ImportGroup>
<PropertyGroup>
<MakeVersionInfoBeforeTarget>
ClCompile
</MakeVersionInfoBeforeTarget>
<KillPython>
true
</KillPython>
</PropertyGroup>
<ImportGroup
Label=
"PropertySheets"
>
...
...
PCbuild/pythonw.vcxproj
View file @
b0660582
...
...
@@ -36,7 +36,6 @@
</ItemGroup>
<PropertyGroup
Label=
"Globals"
>
<ProjectGuid>
{F4229CC3-873C-49AE-9729-DD308ED4CD4A}
</ProjectGuid>
<MakeVersionInfoBeforeTarget>
ClCompile
</MakeVersionInfoBeforeTarget>
<SupportPGO>
false
</SupportPGO>
</PropertyGroup>
<Import
Project=
"python.props"
/>
...
...
PCbuild/pywlauncher.vcxproj
View file @
b0660582
...
...
@@ -38,7 +38,6 @@
<ProjectGuid>
{1D4B18D3-7C12-4ECB-9179-8531FF876CE6}
</ProjectGuid>
<RootNamespace>
pywlauncher
</RootNamespace>
<TargetName>
pyw
</TargetName>
<MakeVersionInfoBeforeTarget>
ClCompile
</MakeVersionInfoBeforeTarget>
<SupportPGO>
false
</SupportPGO>
</PropertyGroup>
<Import
Project=
"python.props"
/>
...
...
PCbuild/select.vcxproj
View file @
b0660582
...
...
@@ -67,6 +67,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\selectmodule.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/sqlite3.vcxproj
View file @
b0660582
...
...
@@ -56,6 +56,12 @@
<PropertyGroup
Label=
"UserMacros"
/>
<PropertyGroup>
<_ProjectFileVersion>
10.0.30319.1
</_ProjectFileVersion>
<_SqliteVersion>
$([System.Text.RegularExpressions.Regex]::Match(`$(sqlite3Dir)`, `((\d+)\.(\d+)\.(\d+)\.(\d+))\\?$`).Groups)
</_SqliteVersion>
<SqliteVersion>
$(_SqliteVersion.Split(`;`)[1])
</SqliteVersion>
<SqliteMajorVersion>
$(_SqliteVersion.Split(`;`)[2])
</SqliteMajorVersion>
<SqliteMinorVersion>
$(_SqliteVersion.Split(`;`)[3])
</SqliteMinorVersion>
<SqliteMicroVersion>
$(_SqliteVersion.Split(`;`)[4])
</SqliteMicroVersion>
<SqlitePatchVersion>
$(_SqliteVersion.Split(`;`)[5])
</SqlitePatchVersion>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
...
...
@@ -63,6 +69,9 @@
<PreprocessorDefinitions>
SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<WarningLevel>
Level1
</WarningLevel>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>
SQLITE_VERSION=$(SqliteVersion);SQLITE_MAJOR_VERSION=$(SqliteMajorVersion);SQLITE_MINOR_VERSION=$(SqliteMinorVersion);SQLITE_MICRO_VERSION=$(SqliteMicroVersion);SQLITE_PATCH_VERSION=$(SqlitePatchVersion);%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude
Include=
"$(sqlite3Dir)\sqlite3.h"
/>
...
...
@@ -71,6 +80,9 @@
<ItemGroup>
<ClCompile
Include=
"$(sqlite3Dir)\sqlite3.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\sqlite3.rc"
/>
</ItemGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.targets"
/>
<ImportGroup
Label=
"ExtensionTargets"
>
</ImportGroup>
...
...
PCbuild/unicodedata.vcxproj
View file @
b0660582
...
...
@@ -71,6 +71,9 @@
<ItemGroup>
<ClCompile
Include=
"..\Modules\unicodedata.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
PCbuild/winsound.vcxproj
View file @
b0660582
...
...
@@ -67,6 +67,9 @@
<ItemGroup>
<ClCompile
Include=
"..\PC\winsound.c"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"..\PC\python_nt.rc"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"pythoncore.vcxproj"
>
<Project>
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
</Project>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment