2012-07-28 15:46:52 -03:00
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets= "Build" ToolsVersion= "4.0" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
<ItemGroup Label= "ProjectConfigurations" >
2019-02-14 12:31:30 -04:00
<ProjectConfiguration Include= "Debug|ARM" >
<Configuration > Debug</Configuration>
<Platform > ARM</Platform>
</ProjectConfiguration>
2019-05-17 14:07:24 -03:00
<ProjectConfiguration Include= "Debug|ARM64" >
<Configuration > Debug</Configuration>
<Platform > ARM64</Platform>
</ProjectConfiguration>
2012-07-28 15:46:52 -03:00
<ProjectConfiguration Include= "Debug|Win32" >
<Configuration > Debug</Configuration>
<Platform > Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "Debug|x64" >
<Configuration > Debug</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
2019-02-14 12:31:30 -04:00
<ProjectConfiguration Include= "PGInstrument|ARM" >
<Configuration > PGInstrument</Configuration>
<Platform > ARM</Platform>
</ProjectConfiguration>
2019-05-17 14:07:24 -03:00
<ProjectConfiguration Include= "PGInstrument|ARM64" >
<Configuration > PGInstrument</Configuration>
<Platform > ARM64</Platform>
</ProjectConfiguration>
2014-11-22 16:54:57 -04:00
<ProjectConfiguration Include= "PGInstrument|Win32" >
<Configuration > PGInstrument</Configuration>
<Platform > Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "PGInstrument|x64" >
<Configuration > PGInstrument</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
2019-02-14 12:31:30 -04:00
<ProjectConfiguration Include= "PGUpdate|ARM" >
<Configuration > PGUpdate</Configuration>
<Platform > ARM</Platform>
</ProjectConfiguration>
2019-05-17 14:07:24 -03:00
<ProjectConfiguration Include= "PGUpdate|ARM64" >
<Configuration > PGUpdate</Configuration>
<Platform > ARM64</Platform>
</ProjectConfiguration>
2014-11-22 16:54:57 -04:00
<ProjectConfiguration Include= "PGUpdate|Win32" >
<Configuration > PGUpdate</Configuration>
<Platform > Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "PGUpdate|x64" >
<Configuration > PGUpdate</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
2019-02-14 12:31:30 -04:00
<ProjectConfiguration Include= "Release|ARM" >
<Configuration > Release</Configuration>
<Platform > ARM</Platform>
</ProjectConfiguration>
2019-05-17 14:07:24 -03:00
<ProjectConfiguration Include= "Release|ARM64" >
<Configuration > Release</Configuration>
<Platform > ARM64</Platform>
</ProjectConfiguration>
2012-07-28 15:46:52 -03:00
<ProjectConfiguration Include= "Release|Win32" >
<Configuration > Release</Configuration>
<Platform > Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "Release|x64" >
<Configuration > Release</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label= "Globals" >
<ProjectGuid > {19C0C13F-47CA-4432-AFF3-799A296A4DDC}</ProjectGuid>
<Keyword > Win32Proj</Keyword>
<RootNamespace > _freeze_importlib</RootNamespace>
2014-11-22 16:54:57 -04:00
<SupportPGO > false</SupportPGO>
2012-07-28 15:46:52 -03:00
</PropertyGroup>
2014-11-22 16:54:57 -04:00
<Import Project= "python.props" />
2012-07-28 15:46:52 -03:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2014-11-22 16:54:57 -04:00
<PropertyGroup Label= "Configuration" >
2012-07-28 15:46:52 -03:00
<ConfigurationType > Application</ConfigurationType>
<CharacterSet > Unicode</CharacterSet>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
2014-11-22 16:54:57 -04:00
<ImportGroup Label= "PropertySheets" >
2012-07-28 15:46:52 -03:00
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
<Import Project= "pyproject.props" />
</ImportGroup>
<PropertyGroup Label= "UserMacros" />
2014-11-22 16:54:57 -04:00
<ItemDefinitionGroup >
2012-07-28 15:46:52 -03:00
<ClCompile >
2014-11-22 16:54:57 -04:00
<PreprocessorDefinitions > _CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
2012-07-28 15:46:52 -03:00
</ClCompile>
<Link >
<SubSystem > Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemGroup >
2014-07-25 08:52:14 -03:00
<ClCompile Include= "..\Programs\_freeze_importlib.c" />
2012-07-28 15:46:52 -03:00
</ItemGroup>
<ItemGroup >
<ProjectReference Include= "pythoncore.vcxproj" >
<Project > {cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project>
<Private > true</Private>
<ReferenceOutputAssembly > true</ReferenceOutputAssembly>
<CopyLocalSatelliteAssemblies > false</CopyLocalSatelliteAssemblies>
<LinkLibraryDependencies > true</LinkLibraryDependencies>
<UseLibraryDependencyInputs > false</UseLibraryDependencyInputs>
</ProjectReference>
</ItemGroup>
<ItemGroup >
2016-12-12 15:17:59 -04:00
<None Include= "..\Lib\importlib\_bootstrap.py" >
2018-09-18 16:22:29 -03:00
<ModName > importlib._bootstrap</ModName>
2016-12-12 15:17:59 -04:00
<IntFile > $(IntDir)importlib.g.h</IntFile>
<OutFile > $(PySourcePath)Python\importlib.h</OutFile>
</None>
<None Include= "..\Lib\importlib\_bootstrap_external.py" >
2018-09-18 16:22:29 -03:00
<ModName > importlib._bootstrap_external</ModName>
2016-12-12 15:17:59 -04:00
<IntFile > $(IntDir)importlib_external.g.h</IntFile>
<OutFile > $(PySourcePath)Python\importlib_external.h</OutFile>
</None>
2018-09-18 16:22:29 -03:00
<None Include= "..\Lib\zipimport.py" >
<ModName > zipimport</ModName>
<IntFile > $(IntDir)importlib_zipimport.g.h</IntFile>
<OutFile > $(PySourcePath)Python\importlib_zipimport.h</OutFile>
</None>
2021-07-05 12:18:14 -03:00
<None Include= "..\Tools\freeze\flag.py" >
<ModName > hello</ModName>
<IntFile > $(IntDir)frozen_hello.g.h</IntFile>
<OutFile > $(PySourcePath)Python\frozen_hello.h</OutFile>
</None>
2012-07-28 15:46:52 -03:00
</ItemGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label= "ExtensionTargets" >
</ImportGroup>
2016-12-12 15:17:59 -04:00
<Target Name= "_RebuildImportLib" >
2018-09-18 16:22:29 -03:00
<Exec Command= '"$(TargetPath)" "%(None.ModName)" "%(None.FullPath)" "%(None.IntFile)"' />
2014-11-22 16:54:57 -04:00
2016-12-12 15:17:59 -04:00
<Copy SourceFiles= "%(None.IntFile)"
DestinationFiles="%(None.OutFile)"
Condition="!Exists(%(None.OutFile)) or (Exists(%(None.IntFile)) and '$([System.IO.File]::ReadAllText(%(None.OutFile)).Replace(`
 
 `, `
 `))' != '$([System.IO.File]::ReadAllText(%(None.IntFile)).Replace(`
 
 `, `
 `))')">
<Output TaskParameter= "CopiedFiles" ItemName= "_Updated" />
</Copy>
2021-04-06 19:54:43 -03:00
<Message Text= "Updated files: @(_Updated->'%(Filename)%(Extension)',', ')"
Condition="'@(_Updated)' != ''" Importance="high" />
<Warning Text= "Frozen importlib files were updated. Please rebuild to pick up the changes.%0D%0A%0D%0AIf you are not developing on Windows but you see this error on a continuous integration build, please run 'make regen-all' and commit anything that changes."
2016-12-12 15:17:59 -04:00
Condition="'@(_Updated)' != '' and $(Configuration) == 'Debug'" />
2021-04-06 19:54:43 -03:00
<Error Text= "Frozen importlib files were updated. Please rebuild to pick up the changes.%0D%0A%0D%0AIf you are not developing on Windows but you see this error on a continuous integration build, please run 'make regen-all' and commit anything that changes."
2016-12-12 15:17:59 -04:00
Condition="'@(_Updated)' != '' and $(Configuration) == 'Release'" />
</Target>
<Target Name= "RebuildImportLib" AfterTargets= "AfterBuild" Condition= "$(Configuration) == 'Debug' or $(Configuration) == 'Release'"
DependsOnTargets="_RebuildImportLib">
2014-11-22 16:54:57 -04:00
</Target>
<Target Name= "_CleanImportLib" BeforeTargets= "CoreClean" >
<ItemGroup >
2021-07-05 12:18:14 -03:00
<Clean Include= "%(None.IntFile)" />
2014-11-22 16:54:57 -04:00
</ItemGroup>
</Target>
2014-07-25 08:52:14 -03:00
</Project>