2014-11-22 21:54:57 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2021-09-27 21:52:54 +02:00
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
2014-11-22 21:54:57 +01:00
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
<ProjectGuid>{CC9B93A2-439D-4058-9D29-6DCF43774405}</ProjectGuid>
|
|
|
|
<Platform Condition="'$(Platform)' == ''">Win32</Platform>
|
|
|
|
<Configuration Condition="'$(Configuration)' == ''">Release</Configuration>
|
|
|
|
<IncludeExtensions Condition="'$(IncludeExtensions)' == ''">true</IncludeExtensions>
|
2015-09-04 06:43:54 +02:00
|
|
|
<IncludeExternals Condition="'$(IncludeExternals)' == ''">true</IncludeExternals>
|
2014-11-22 21:54:57 +01:00
|
|
|
<IncludeTests Condition="'$(IncludeTest)' == ''">true</IncludeTests>
|
2019-05-17 19:07:24 +02:00
|
|
|
<IncludeCTypes Condition="'$(IncludeCTypes)' == ''">true</IncludeCTypes>
|
2014-11-22 21:54:57 +01:00
|
|
|
<IncludeSSL Condition="'$(IncludeSSL)' == ''">true</IncludeSSL>
|
2015-09-04 06:43:54 +02:00
|
|
|
<IncludeTkinter Condition="'$(IncludeTkinter)' == ''">true</IncludeTkinter>
|
2018-12-11 03:52:57 +01:00
|
|
|
<IncludeUwp Condition="'$(IncludeUwp)' == ''">false</IncludeUwp>
|
2014-11-22 21:54:57 +01:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemDefinitionGroup>
|
2021-09-15 19:11:12 +02:00
|
|
|
<FreezeProjects>
|
2021-09-27 21:52:54 +02:00
|
|
|
<Platform>$(PreferredToolArchitecture)</Platform>
|
2021-09-15 19:11:12 +02:00
|
|
|
<Configuration>$(Configuration)</Configuration>
|
|
|
|
<Configuration Condition="$(Configuration) == 'PGInstrument'">Release</Configuration>
|
|
|
|
<Properties></Properties>
|
|
|
|
<BuildTarget>Build</BuildTarget>
|
|
|
|
<CleanTarget>Clean</CleanTarget>
|
|
|
|
<CleanAllTarget>CleanAll</CleanAllTarget>
|
|
|
|
<BuildInParallel>false</BuildInParallel>
|
|
|
|
</FreezeProjects>
|
2014-11-22 21:54:57 +01:00
|
|
|
<Projects>
|
|
|
|
<Platform>$(Platform)</Platform>
|
|
|
|
<Configuration>$(Configuration)</Configuration>
|
|
|
|
<Properties></Properties>
|
|
|
|
<BuildTarget>Build</BuildTarget>
|
|
|
|
<CleanTarget>Clean</CleanTarget>
|
|
|
|
<CleanAllTarget>CleanAll</CleanAllTarget>
|
|
|
|
<BuildInParallel>true</BuildInParallel>
|
|
|
|
</Projects>
|
2016-07-17 01:13:19 +02:00
|
|
|
<Projects2>
|
|
|
|
<Platform>$(Platform)</Platform>
|
|
|
|
<Configuration>$(Configuration)</Configuration>
|
|
|
|
<Properties></Properties>
|
|
|
|
<BuildTarget>Build</BuildTarget>
|
|
|
|
<CleanTarget>Clean</CleanTarget>
|
|
|
|
<CleanAllTarget>CleanAll</CleanAllTarget>
|
2016-12-12 20:17:59 +01:00
|
|
|
<BuildInParallel>false</BuildInParallel>
|
2016-07-17 01:13:19 +02:00
|
|
|
</Projects2>
|
2014-11-22 21:54:57 +01:00
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<!-- pythonXY.dll -->
|
|
|
|
<!--
|
|
|
|
Parallel build is explicitly disabled for this project because it
|
|
|
|
causes many conflicts between pythoncore and projects that depend
|
2015-09-04 06:43:54 +02:00
|
|
|
on pythoncore. Once the core DLL has been built, subsequent
|
2014-11-22 21:54:57 +01:00
|
|
|
projects will be built in parallel.
|
|
|
|
-->
|
|
|
|
<Projects Include="pythoncore.vcxproj">
|
|
|
|
<BuildInParallel>false</BuildInParallel>
|
|
|
|
</Projects>
|
|
|
|
<!-- python3.dll -->
|
|
|
|
<Projects Include="python3dll.vcxproj" />
|
|
|
|
<!-- py[w].exe -->
|
|
|
|
<Projects Include="pylauncher.vcxproj;pywlauncher.vcxproj" />
|
2016-07-17 01:17:33 +02:00
|
|
|
<!-- pyshellext.dll -->
|
|
|
|
<Projects Include="pyshellext.vcxproj" />
|
2014-11-22 21:54:57 +01:00
|
|
|
<!-- Extension modules -->
|
2023-05-25 03:06:00 +02:00
|
|
|
<ExtensionModules Include="_asyncio;_zoneinfo;_decimal;_elementtree;_multiprocessing;_overlapped;pyexpat;_queue;select;unicodedata;winsound;_uuid;_wmi" />
|
2019-05-17 19:07:24 +02:00
|
|
|
<ExtensionModules Include="_ctypes" Condition="$(IncludeCTypes)" />
|
2015-09-04 06:43:54 +02:00
|
|
|
<!-- Extension modules that require external sources -->
|
|
|
|
<ExternalModules Include="_bz2;_lzma;_sqlite3" />
|
2018-12-11 03:52:57 +01:00
|
|
|
<!-- venv launchers -->
|
|
|
|
<Projects Include="venvlauncher.vcxproj;venvwlauncher.vcxproj" />
|
2014-11-22 21:54:57 +01:00
|
|
|
<!-- _ssl will build _socket as well, which may cause conflicts in parallel builds -->
|
2015-09-04 06:43:54 +02:00
|
|
|
<ExtensionModules Include="_socket" Condition="!$(IncludeSSL) or !$(IncludeExternals)" />
|
|
|
|
<ExternalModules Include="_ssl;_hashlib" Condition="$(IncludeSSL)" />
|
2022-02-28 13:06:43 +01:00
|
|
|
<ExternalModules Include="_tkinter" Condition="$(IncludeTkinter)" />
|
2015-09-04 06:43:54 +02:00
|
|
|
<ExtensionModules Include="@(ExternalModules->'%(Identity)')" Condition="$(IncludeExternals)" />
|
2014-11-22 21:54:57 +01:00
|
|
|
<Projects Include="@(ExtensionModules->'%(Identity).vcxproj')" Condition="$(IncludeExtensions)" />
|
|
|
|
<!-- Test modules -->
|
2024-03-07 19:31:12 +01:00
|
|
|
<TestModules Include="_ctypes_test;_testbuffer;_testcapi;_testlimitedcapi;_testinternalcapi;_testembed;_testimportmultiple;_testmultiphase;_testsinglephase;_testconsole;_testclinic;_testclinic_limited" />
|
2014-11-22 21:54:57 +01:00
|
|
|
<TestModules Include="xxlimited" Condition="'$(Configuration)' == 'Release'" />
|
2020-12-08 17:36:53 +01:00
|
|
|
<TestModules Include="xxlimited_35" Condition="'$(Configuration)' == 'Release'" />
|
2014-11-22 21:54:57 +01:00
|
|
|
<Projects Include="@(TestModules->'%(Identity).vcxproj')" Condition="$(IncludeTests)">
|
|
|
|
<!-- Disable parallel build for test modules -->
|
|
|
|
<BuildInParallel>false</BuildInParallel>
|
|
|
|
</Projects>
|
2019-04-18 11:37:26 +02:00
|
|
|
|
2021-08-31 01:25:11 +02:00
|
|
|
<!-- _freeze_module -->
|
2021-09-15 19:11:12 +02:00
|
|
|
<FreezeProjects Include="_freeze_module.vcxproj" />
|
2016-07-14 04:58:21 +02:00
|
|
|
<!-- python[w].exe -->
|
2016-12-12 20:17:59 +01:00
|
|
|
<Projects2 Include="python.vcxproj;pythonw.vcxproj" />
|
2018-12-11 03:52:57 +01:00
|
|
|
<Projects2 Include="python_uwp.vcxproj;pythonw_uwp.vcxproj" Condition="$(IncludeUwp)" />
|
2018-12-10 17:11:21 +01:00
|
|
|
<!-- venv[w]launcher.exe -->
|
|
|
|
<Projects2 Include="venvlauncher.vcxproj;venvwlauncher.vcxproj" />
|
2014-11-22 21:54:57 +01:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<Target Name="Build">
|
2021-09-15 19:11:12 +02:00
|
|
|
<MSBuild Projects="@(FreezeProjects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="true"
|
|
|
|
Targets="%(BuildTarget)" />
|
2014-11-22 21:54:57 +01:00
|
|
|
<MSBuild Projects="@(Projects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
2016-07-14 04:58:21 +02:00
|
|
|
StopOnFirstFailure="true"
|
2014-11-22 21:54:57 +01:00
|
|
|
Targets="%(BuildTarget)" />
|
2016-07-17 01:13:19 +02:00
|
|
|
<MSBuild Projects="@(Projects2)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="true"
|
|
|
|
Targets="%(BuildTarget)" />
|
2014-11-22 21:54:57 +01:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="Clean">
|
2016-07-17 01:13:19 +02:00
|
|
|
<MSBuild Projects="@(Projects2)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanTarget) != ''"
|
|
|
|
Targets="%(CleanTarget)" />
|
2014-11-22 21:54:57 +01:00
|
|
|
<MSBuild Projects="@(Projects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanTarget) != ''"
|
|
|
|
Targets="%(CleanTarget)" />
|
2022-09-07 22:26:53 +02:00
|
|
|
<MSBuild Projects="@(FreezeProjects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanTarget) != ''"
|
|
|
|
Targets="%(CleanTarget)" />
|
2014-11-22 21:54:57 +01:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="CleanAll">
|
2016-07-17 01:13:19 +02:00
|
|
|
<MSBuild Projects="@(Projects2)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanAllTarget) != ''"
|
|
|
|
Targets="%(CleanAllTarget)" />
|
2014-11-22 21:54:57 +01:00
|
|
|
<MSBuild Projects="@(Projects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanAllTarget) != ''"
|
|
|
|
Targets="%(CleanAllTarget)" />
|
2022-09-07 22:26:53 +02:00
|
|
|
<MSBuild Projects="@(FreezeProjects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanTarget) != ''"
|
|
|
|
Targets="%(CleanTarget)" />
|
2014-11-22 21:54:57 +01:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
|
|
|
|
<Target Name="RebuildAll" DependsOnTargets="CleanAll;Build" />
|
2017-09-07 02:29:37 +02:00
|
|
|
</Project>
|