diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-04-06 19:35:24 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-04-06 19:35:24 (GMT) |
commit | b0660582cc9260022053c83dcfddd47891700147 (patch) | |
tree | 8e3ac87543605f45dcf1590e5dfded69cd3ebec1 /PCbuild | |
parent | 48842714b948fa239392ddd7e207151d5fcb8bc7 (diff) | |
download | cpython-b0660582cc9260022053c83dcfddd47891700147.zip cpython-b0660582cc9260022053c83dcfddd47891700147.tar.gz cpython-b0660582cc9260022053c83dcfddd47891700147.tar.bz2 |
Adds version info to all signed binaries on Windows.
Diffstat (limited to 'PCbuild')
31 files changed, 88 insertions, 13 deletions
diff --git a/PCbuild/_bz2.vcxproj b/PCbuild/_bz2.vcxproj index 64c3dcd..9efb0d9 100644 --- a/PCbuild/_bz2.vcxproj +++ b/PCbuild/_bz2.vcxproj @@ -84,6 +84,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_ctypes.vcxproj b/PCbuild/_ctypes.vcxproj index 68b8e29..70bea45 100644 --- a/PCbuild/_ctypes.vcxproj +++ b/PCbuild/_ctypes.vcxproj @@ -97,6 +97,9 @@ </CustomBuild> </ItemGroup> <ItemGroup> + <ResourceCompile Include="..\PC\python_nt.rc" /> + </ItemGroup> + <ItemGroup> <ProjectReference Include="pythoncore.vcxproj"> <Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project> </ProjectReference> diff --git a/PCbuild/_ctypes_test.vcxproj b/PCbuild/_ctypes_test.vcxproj index c1260b5..b62407f 100644 --- a/PCbuild/_ctypes_test.vcxproj +++ b/PCbuild/_ctypes_test.vcxproj @@ -67,6 +67,9 @@ <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> </ProjectReference> diff --git a/PCbuild/_decimal.vcxproj b/PCbuild/_decimal.vcxproj index 943bfb0..9c9c19a 100644 --- a/PCbuild/_decimal.vcxproj +++ b/PCbuild/_decimal.vcxproj @@ -114,6 +114,9 @@ </CustomBuild> </ItemGroup> <ItemGroup> + <ResourceCompile Include="..\PC\python_nt.rc" /> + </ItemGroup> + <ItemGroup> <ProjectReference Include="pythoncore.vcxproj"> <Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project> </ProjectReference> diff --git a/PCbuild/_elementtree.vcxproj b/PCbuild/_elementtree.vcxproj index 414bd8b..725b5a9 100644 --- a/PCbuild/_elementtree.vcxproj +++ b/PCbuild/_elementtree.vcxproj @@ -92,6 +92,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_hashlib.vcxproj b/PCbuild/_hashlib.vcxproj index 5616a1e..b1300cb 100644 --- a/PCbuild/_hashlib.vcxproj +++ b/PCbuild/_hashlib.vcxproj @@ -71,6 +71,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_lzma.vcxproj b/PCbuild/_lzma.vcxproj index af50494..1f0696da 100644 --- a/PCbuild/_lzma.vcxproj +++ b/PCbuild/_lzma.vcxproj @@ -74,6 +74,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_msi.vcxproj b/PCbuild/_msi.vcxproj index f5ba7bf..3895d45 100644 --- a/PCbuild/_msi.vcxproj +++ b/PCbuild/_msi.vcxproj @@ -69,6 +69,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_multiprocessing.vcxproj b/PCbuild/_multiprocessing.vcxproj index 1eb92b6..bb2bb41 100644 --- a/PCbuild/_multiprocessing.vcxproj +++ b/PCbuild/_multiprocessing.vcxproj @@ -73,6 +73,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_overlapped.vcxproj b/PCbuild/_overlapped.vcxproj index 55301ea..8cf8a86 100644 --- a/PCbuild/_overlapped.vcxproj +++ b/PCbuild/_overlapped.vcxproj @@ -69,6 +69,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_socket.vcxproj b/PCbuild/_socket.vcxproj index 03b6f75..d5c4d1b 100644 --- a/PCbuild/_socket.vcxproj +++ b/PCbuild/_socket.vcxproj @@ -72,6 +72,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_sqlite3.vcxproj b/PCbuild/_sqlite3.vcxproj index 5e889d0..5456bb5 100644 --- a/PCbuild/_sqlite3.vcxproj +++ b/PCbuild/_sqlite3.vcxproj @@ -91,6 +91,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_ssl.vcxproj b/PCbuild/_ssl.vcxproj index 73c9571..d75ebd6 100644 --- a/PCbuild/_ssl.vcxproj +++ b/PCbuild/_ssl.vcxproj @@ -71,6 +71,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_testbuffer.vcxproj b/PCbuild/_testbuffer.vcxproj index 8cbf125..1f45b29 100644 --- a/PCbuild/_testbuffer.vcxproj +++ b/PCbuild/_testbuffer.vcxproj @@ -69,6 +69,9 @@ <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> </ProjectReference> diff --git a/PCbuild/_testcapi.vcxproj b/PCbuild/_testcapi.vcxproj index dbf44e6..365b07c 100644 --- a/PCbuild/_testcapi.vcxproj +++ b/PCbuild/_testcapi.vcxproj @@ -69,6 +69,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_testembed.vcxproj b/PCbuild/_testembed.vcxproj index f0e4d9f..14a926e 100644 --- a/PCbuild/_testembed.vcxproj +++ b/PCbuild/_testembed.vcxproj @@ -66,6 +66,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_testimportmultiple.vcxproj b/PCbuild/_testimportmultiple.vcxproj index cec042c..37c1a64 100644 --- a/PCbuild/_testimportmultiple.vcxproj +++ b/PCbuild/_testimportmultiple.vcxproj @@ -69,6 +69,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_testmultiphase.vcxproj b/PCbuild/_testmultiphase.vcxproj index 647b380..106927c 100644 --- a/PCbuild/_testmultiphase.vcxproj +++ b/PCbuild/_testmultiphase.vcxproj @@ -69,6 +69,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/_tkinter.vcxproj b/PCbuild/_tkinter.vcxproj index f3185eb..6793106 100644 --- a/PCbuild/_tkinter.vcxproj +++ b/PCbuild/_tkinter.vcxproj @@ -74,6 +74,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/pyexpat.vcxproj b/PCbuild/pyexpat.vcxproj index 4e7621ec..99c7286 100644 --- a/PCbuild/pyexpat.vcxproj +++ b/PCbuild/pyexpat.vcxproj @@ -73,6 +73,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/pylauncher.vcxproj b/PCbuild/pylauncher.vcxproj index 6a21785..2d4b5f6 100644 --- a/PCbuild/pylauncher.vcxproj +++ b/PCbuild/pylauncher.vcxproj @@ -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" /> diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index 7033cc3..c56292a 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -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 python.props /t:GeneratePythonNtRcH */ + Outputs="$(IntDir)pythonnt_rc.h"> + <WriteLinesToFile File="$(IntDir)pythonnt_rc.h" Overwrite="true" Encoding="ascii" + Lines='/* This file created by pyproject.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> diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj index 0ae4882..f9580be 100644 --- a/PCbuild/python.vcxproj +++ b/PCbuild/python.vcxproj @@ -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" /> diff --git a/PCbuild/python3dll.vcxproj b/PCbuild/python3dll.vcxproj index 18ff4a8..cbb618f 100644 --- a/PCbuild/python3dll.vcxproj +++ b/PCbuild/python3dll.vcxproj @@ -39,7 +39,6 @@ <RootNamespace>python3dll</RootNamespace> <Keyword>Win32Proj</Keyword> <TargetName>python3</TargetName> - <MakeVersionInfoBeforeTarget>ClCompile</MakeVersionInfoBeforeTarget> <SupportPGO>false</SupportPGO> </PropertyGroup> <Import Project="python.props" /> diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 9cbe8b9..3a1b5ba 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -48,7 +48,6 @@ <ImportGroup Label="ExtensionSettings"> </ImportGroup> <PropertyGroup> - <MakeVersionInfoBeforeTarget>ClCompile</MakeVersionInfoBeforeTarget> <KillPython>true</KillPython> </PropertyGroup> <ImportGroup Label="PropertySheets"> diff --git a/PCbuild/pythonw.vcxproj b/PCbuild/pythonw.vcxproj index b0a209a..caed1e8 100644 --- a/PCbuild/pythonw.vcxproj +++ b/PCbuild/pythonw.vcxproj @@ -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" /> diff --git a/PCbuild/pywlauncher.vcxproj b/PCbuild/pywlauncher.vcxproj index 882f1c4..eabf883 100644 --- a/PCbuild/pywlauncher.vcxproj +++ b/PCbuild/pywlauncher.vcxproj @@ -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" /> diff --git a/PCbuild/select.vcxproj b/PCbuild/select.vcxproj index 3cd0694..d6112ab 100644 --- a/PCbuild/select.vcxproj +++ b/PCbuild/select.vcxproj @@ -68,6 +68,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/sqlite3.vcxproj b/PCbuild/sqlite3.vcxproj index b6246fa..c841c5a 100644 --- a/PCbuild/sqlite3.vcxproj +++ b/PCbuild/sqlite3.vcxproj @@ -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> diff --git a/PCbuild/unicodedata.vcxproj b/PCbuild/unicodedata.vcxproj index a3071fb..317c1a8 100644 --- a/PCbuild/unicodedata.vcxproj +++ b/PCbuild/unicodedata.vcxproj @@ -72,6 +72,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/PCbuild/winsound.vcxproj b/PCbuild/winsound.vcxproj index 540235a..12913ef 100644 --- a/PCbuild/winsound.vcxproj +++ b/PCbuild/winsound.vcxproj @@ -68,6 +68,9 @@ <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> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |