2014-11-23 04:54:57 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<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 12:43:54 +08:00
|
|
|
<IncludeExternals Condition="'$(IncludeExternals)' == ''">true</IncludeExternals>
|
2014-11-23 04:54:57 +08:00
|
|
|
<IncludeTests Condition="'$(IncludeTest)' == ''">true</IncludeTests>
|
|
|
|
<IncludeSSL Condition="'$(IncludeSSL)' == ''">true</IncludeSSL>
|
2015-09-04 12:43:54 +08:00
|
|
|
<IncludeTkinter Condition="'$(IncludeTkinter)' == ''">true</IncludeTkinter>
|
2014-11-23 04:54:57 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<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 07:13:19 +08:00
|
|
|
<Projects2>
|
|
|
|
<Platform>$(Platform)</Platform>
|
|
|
|
<Configuration>$(Configuration)</Configuration>
|
|
|
|
<Properties></Properties>
|
|
|
|
<BuildTarget>Build</BuildTarget>
|
|
|
|
<CleanTarget>Clean</CleanTarget>
|
|
|
|
<CleanAllTarget>CleanAll</CleanAllTarget>
|
2016-12-13 03:17:59 +08:00
|
|
|
<BuildInParallel>false</BuildInParallel>
|
2016-07-17 07:13:19 +08:00
|
|
|
</Projects2>
|
2014-11-23 04:54:57 +08: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 12:43:54 +08:00
|
|
|
on pythoncore. Once the core DLL has been built, subsequent
|
2014-11-23 04:54:57 +08: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 07:17:33 +08:00
|
|
|
<!-- pyshellext.dll -->
|
|
|
|
<Projects Include="pyshellext.vcxproj" />
|
2014-11-23 04:54:57 +08:00
|
|
|
<!-- Extension modules -->
|
2016-10-21 11:30:15 +08:00
|
|
|
<ExtensionModules Include="_asyncio;_ctypes;_decimal;_elementtree;_msi;_multiprocessing;_overlapped;pyexpat;select;unicodedata;winsound" />
|
2015-09-04 12:43:54 +08:00
|
|
|
<!-- Extension modules that require external sources -->
|
|
|
|
<ExternalModules Include="_bz2;_lzma;_sqlite3" />
|
2014-11-23 04:54:57 +08:00
|
|
|
<!-- _ssl will build _socket as well, which may cause conflicts in parallel builds -->
|
2015-09-04 12:43:54 +08:00
|
|
|
<ExtensionModules Include="_socket" Condition="!$(IncludeSSL) or !$(IncludeExternals)" />
|
|
|
|
<ExternalModules Include="_ssl;_hashlib" Condition="$(IncludeSSL)" />
|
|
|
|
<ExternalModules Include="_tkinter;tix" Condition="$(IncludeTkinter)" />
|
|
|
|
<ExtensionModules Include="@(ExternalModules->'%(Identity)')" Condition="$(IncludeExternals)" />
|
2014-11-23 04:54:57 +08:00
|
|
|
<Projects Include="@(ExtensionModules->'%(Identity).vcxproj')" Condition="$(IncludeExtensions)" />
|
|
|
|
<!-- Test modules -->
|
2016-10-04 00:04:58 +08:00
|
|
|
<TestModules Include="_ctypes_test;_testbuffer;_testcapi;_testembed;_testimportmultiple;_testmultiphase;_testconsole" />
|
2014-11-23 04:54:57 +08:00
|
|
|
<TestModules Include="xxlimited" Condition="'$(Configuration)' == 'Release'" />
|
|
|
|
<Projects Include="@(TestModules->'%(Identity).vcxproj')" Condition="$(IncludeTests)">
|
|
|
|
<!-- Disable parallel build for test modules -->
|
|
|
|
<BuildInParallel>false</BuildInParallel>
|
|
|
|
</Projects>
|
2016-07-14 10:58:21 +08:00
|
|
|
|
2016-12-13 03:17:59 +08:00
|
|
|
<!-- _freeze_importlib -->
|
|
|
|
<Projects2 Include="_freeze_importlib.vcxproj" />
|
2016-07-14 10:58:21 +08:00
|
|
|
<!-- python[w].exe -->
|
2016-12-13 03:17:59 +08:00
|
|
|
<Projects2 Include="python.vcxproj;pythonw.vcxproj" />
|
2014-11-23 04:54:57 +08:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<Target Name="Build">
|
|
|
|
<MSBuild Projects="@(Projects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
2016-07-14 10:58:21 +08:00
|
|
|
StopOnFirstFailure="true"
|
2014-11-23 04:54:57 +08:00
|
|
|
Targets="%(BuildTarget)" />
|
2016-07-17 07:13:19 +08:00
|
|
|
<MSBuild Projects="@(Projects2)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="true"
|
|
|
|
Targets="%(BuildTarget)" />
|
2014-11-23 04:54:57 +08:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="Clean">
|
2016-07-17 07:13:19 +08:00
|
|
|
<MSBuild Projects="@(Projects2)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanTarget) != ''"
|
|
|
|
Targets="%(CleanTarget)" />
|
2014-11-23 04:54:57 +08:00
|
|
|
<MSBuild Projects="@(Projects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanTarget) != ''"
|
|
|
|
Targets="%(CleanTarget)" />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="CleanAll">
|
2016-07-17 07:13:19 +08:00
|
|
|
<MSBuild Projects="@(Projects2)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanAllTarget) != ''"
|
|
|
|
Targets="%(CleanAllTarget)" />
|
2014-11-23 04:54:57 +08:00
|
|
|
<MSBuild Projects="@(Projects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanAllTarget) != ''"
|
|
|
|
Targets="%(CleanAllTarget)" />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
|
|
|
|
<Target Name="RebuildAll" DependsOnTargets="CleanAll;Build" />
|
|
|
|
</Project>
|