2015-07-16 02:24:48 -03: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 01:27:05 -03:00
|
|
|
<IncludeExternals Condition="'$(IncludeExternals)' == ''">true</IncludeExternals>
|
2015-07-16 02:24:48 -03:00
|
|
|
<IncludeTests Condition="'$(IncludeTest)' == ''">true</IncludeTests>
|
|
|
|
<IncludeSSL Condition="'$(IncludeSSL)' == ''">true</IncludeSSL>
|
2015-09-04 01:27:05 -03:00
|
|
|
<IncludeTkinter Condition="'$(IncludeTkinter)' == ''">true</IncludeTkinter>
|
|
|
|
<IncludeBsddb Condition="'$(IncludeBsddb)' == ''">true</IncludeBsddb>
|
2015-07-16 02:24:48 -03: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>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<!-- pythonXY.dll -->
|
|
|
|
<!--
|
|
|
|
Parallel build is explicitly disabled for this project because it
|
|
|
|
causes many conflicts between pythoncore and projects that depend
|
|
|
|
on pythoncore. Once the core DLL has been built, subsequent
|
|
|
|
projects will be built in parallel.
|
|
|
|
-->
|
|
|
|
<Projects Include="pythoncore.vcxproj">
|
|
|
|
<BuildInParallel>false</BuildInParallel>
|
|
|
|
</Projects>
|
|
|
|
<!-- python[w].exe -->
|
|
|
|
<Projects Include="python.vcxproj;pythonw.vcxproj" />
|
|
|
|
<!-- Extension modules -->
|
2015-09-04 01:27:05 -03:00
|
|
|
<ExtensionModules Include="_ctypes;_elementtree;_msi;_multiprocessing;pyexpat;select;unicodedata;winsound" />
|
|
|
|
<!-- Extension modules that require external sources -->
|
|
|
|
<ExternalModules Include="bz2;_sqlite3" />
|
2015-07-16 02:24:48 -03:00
|
|
|
<!-- _ssl will build _socket as well, which may cause conflicts in parallel builds -->
|
2015-09-04 01:27:05 -03:00
|
|
|
<ExtensionModules Include="_socket" Condition="!$(IncludeSSL) or !$(IncludeExternals)" />
|
|
|
|
<ExternalModules Include="_ssl;_hashlib" Condition="$(IncludeSSL)" />
|
|
|
|
<ExternalModules Include="_tkinter;tix" Condition="$(IncludeTkinter)" />
|
|
|
|
<ExternalModules Include="_bsddb" Condition="$(IncludeBsddb)" />
|
|
|
|
<ExtensionModules Include="@(ExternalModules->'%(Identity)')" Condition="$(IncludeExternals)" />
|
2015-07-16 02:24:48 -03:00
|
|
|
<Projects Include="@(ExtensionModules->'%(Identity).vcxproj')" Condition="$(IncludeExtensions)" />
|
|
|
|
<!-- Test modules -->
|
|
|
|
<TestModules Include="_ctypes_test;_testcapi" />
|
|
|
|
<Projects Include="@(TestModules->'%(Identity).vcxproj')" Condition="$(IncludeTests)">
|
|
|
|
<!-- Disable parallel build for test modules -->
|
|
|
|
<BuildInParallel>false</BuildInParallel>
|
|
|
|
</Projects>
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<Target Name="Build">
|
|
|
|
<MSBuild Projects="@(Projects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
Targets="%(BuildTarget)" />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="Clean">
|
|
|
|
<MSBuild Projects="@(Projects)"
|
|
|
|
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
|
|
|
|
BuildInParallel="%(BuildInParallel)"
|
|
|
|
StopOnFirstFailure="false"
|
|
|
|
Condition="%(CleanTarget) != ''"
|
|
|
|
Targets="%(CleanTarget)" />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="CleanAll">
|
|
|
|
<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>
|