2019-12-17 17:21:20 -04: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" >
<ProjectConfiguration Include= "Debug|ARM" >
<Configuration > Debug</Configuration>
<Platform > ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "Debug|Win32" >
<Configuration > Debug</Configuration>
<Platform > Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "Debug|x64" >
<Configuration > Debug</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "PGInstrument|ARM" >
<Configuration > PGInstrument</Configuration>
<Platform > ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "PGInstrument|Win32" >
<Configuration > PGInstrument</Configuration>
<Platform > Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "PGInstrument|x64" >
<Configuration > PGInstrument</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "PGUpdate|ARM" >
<Configuration > PGUpdate</Configuration>
<Platform > ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "PGUpdate|Win32" >
<Configuration > PGUpdate</Configuration>
<Platform > Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "PGUpdate|x64" >
<Configuration > PGUpdate</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include= "Release|ARM" >
<Configuration > Release</Configuration>
<Platform > ARM</Platform>
</ProjectConfiguration>
<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 > {21CF2108-2CC9-4005-A6ED-B7965ADE3854}</ProjectGuid>
<Keyword > Win32Proj</Keyword>
<RootNamespace > regen</RootNamespace>
<SupportPGO > false</SupportPGO>
<WindowsTargetPlatformVersion > 10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project= "python.props" />
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label= "Configuration" >
<ConfigurationType > Utility</ConfigurationType>
<CharacterSet > Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='Debug|Win32'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='Debug|ARM'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='Release|Win32'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='Release|ARM'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='PGUpdate|x64'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='PGUpdate|ARM'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='PGUpdate|Win32'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='PGInstrument|ARM'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='PGInstrument|x64'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label= "Configuration" Condition= "'$(Configuration)|$(Platform)'=='PGInstrument|Win32'" >
<PlatformToolset > v142</PlatformToolset>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
<ImportGroup Label= "PropertySheets" >
<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" />
<ItemDefinitionGroup >
<ClCompile >
<PreprocessorDefinitions > _CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link >
<SubSystem > Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemGroup >
<ClCompile Include= "..\Programs\_freeze_importlib.c" />
</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 >
<None Include= "..\Grammar\Grammar" >
</None>
<None Include= "..\Grammar\Tokens" >
</None>
<None Include= "..\Include\token.h" >
</None>
<None Include= "..\Include\opcode.h" >
</None>
2020-11-02 17:03:28 -04:00
<None Include= "..\Include\internal\pycore_ast.h" >
</None>
2019-12-17 17:21:20 -04:00
<None Include= "..\Include\Python-ast.h" >
</None>
<None Include= "..\Python\Python-ast.c" >
</None>
<None Include= "..\Lib\keyword.py" >
</None>
<None Include= "..\Lib\symbol.py" >
</None>
<None Include= "..\Doc\library\token-list.inc" >
</None>
</ItemGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label= "ExtensionTargets" >
</ImportGroup>
2020-04-22 19:29:27 -03:00
<Target Name= "_RegenPegen" BeforeTargets= "Build" >
2020-06-11 13:30:46 -03:00
<!-- Regenerate Parser/parser.c -->
2020-04-29 06:09:09 -03:00
<SetEnv Name= "PYTHONPATH" Prefix= "true" Value= "$(PySourcePath)Tools\peg_generator\" />
2020-06-11 13:30:46 -03:00
<Exec Command= ""$(PythonExe)" -m pegen -q c "$(PySourcePath)Grammar\python.gram" "$(PySourcePath)Grammar\Tokens" -o "$(IntDir)parser.c"" />
<Copy SourceFiles= "$(IntDir)parser.c" DestinationFiles= "$(PySourcePath)Parser\parser.c" >
2020-04-22 19:29:27 -03:00
<Output TaskParameter= "CopiedFiles" ItemName= "_UpdatedParse" />
</Copy>
<Warning Text= "Pegen updated. You will need to rebuild pythoncore to see the changes." Condition= "'@(_UpdatedParse)' != ''" />
</Target>
2019-12-17 17:21:20 -04:00
<Target Name= "_RegenAST_H" AfterTargets= "_RegenGrammar" >
2020-11-02 17:03:28 -04:00
<!-- Regenerate Include/Python - ast.h, Python/Python - ast.c and Include/internal/pycore_ast.h using Parser/asdl_c.py - h -->
<Exec Command= ""$(PythonExe)" "$(PySourcePath)Parser\asdl_c.py" "$(PySourcePath)Parser\Python.asdl" -H "$(IntDir)Python-ast.h" -C "$(IntDir)Python-ast.c" -I "$(IntDir)pycore_ast.h"" />
2019-12-17 17:21:20 -04:00
<Copy SourceFiles= "$(IntDir)Python-ast.h" DestinationFiles= "$(PySourcePath)Include\Python-ast.h" >
<Output TaskParameter= "CopiedFiles" ItemName= "_UpdatedH" />
</Copy>
<Copy SourceFiles= "$(IntDir)Python-ast.c" DestinationFiles= "$(PySourcePath)Python\Python-ast.c" >
2020-05-18 14:42:10 -03:00
<Output TaskParameter= "CopiedFiles" ItemName= "_UpdatedC" />
2019-12-17 17:21:20 -04:00
</Copy>
2020-11-02 17:03:28 -04:00
<Copy SourceFiles= "$(IntDir)pycore_ast.h" DestinationFiles= "$(PySourcePath)Include\internal\pycore_ast.h" >
<Output TaskParameter= "CopiedFiles" ItemName= "_UpdatedInternalH" />
</Copy>
<Warning Text= "ASDL is updated. You will need to rebuild pythoncore to see the changes." Condition= "'@(_UpdatedH)' != '' != '' and '@(_UpdatedC)' != '' and @(_UpdatedInternalH)'" />
2019-12-17 17:21:20 -04:00
</Target>
<Target Name= "_RegenOpcodes" AfterTargets= "_RegenAST_C" >
<!-- Regenerate Include/opcode.h from Lib/opcode.py using Tools/scripts/generate_opcode_h.py -->
<Exec Command= ""$(PythonExe)" $(PySourcePath)Tools\scripts\generate_opcode_h.py "$(PySourcePath)Lib\opcode.py" "$(IntDir)opcode.h"" />
<Copy SourceFiles= "$(IntDir)opcode.h" DestinationFiles= "$(PySourcePath)Include\opcode.h" >
<Output TaskParameter= "CopiedFiles" ItemName= "_Updated" />
</Copy>
<Warning Text= "Opcodes updated. You will need to rebuild pythoncore to see the changes." Condition= "'@(_Updated)' != ''" />
</Target>
<Target Name= "_RegenTokens" AfterTargets= "_RegenOpcodes" >
<!-- Regenerate Doc/library/token - list.inc from Grammar/Tokens using Tools/scripts/generate_token.py -->
<Exec Command= ""$(PythonExe)" $(PySourcePath)Tools\scripts\generate_token.py rst "$(PySourcePath)Grammar\Tokens" "$(PySourcePath)Doc\library\token-list.inc"" />
<!-- Regenerate Include/token.h from Grammar/Tokens using Tools/scripts/generate_token.py -->
<Exec Command= ""$(PythonExe)" $(PySourcePath)Tools\scripts\generate_token.py h "$(PySourcePath)Grammar\Tokens" "$(PySourcePath)Include\token.h"" />
<!-- Regenerate Parser/token.c from Grammar/Tokens using Tools/scripts/generate_token.py -->
<Exec Command= ""$(PythonExe)" $(PySourcePath)Tools\scripts\generate_token.py c "$(PySourcePath)Grammar\Tokens" "$(PySourcePath)Parser\token.c"" />
<!-- Regenerate Lib/token.py from Grammar/Tokens using Tools/scripts/generate_token.py -->
<Exec Command= ""$(PythonExe)" $(PySourcePath)Tools\scripts\generate_token.py py "$(PySourcePath)Grammar\Tokens" "$(PySourcePath)Lib\token.py"" />
</Target>
<Target Name= "_RegenKeywords" AfterTargets= "_RegenTokens" >
2020-06-11 09:45:15 -03:00
<!-- Regenerate Lib/keyword.py from Grammar/python.gram and Grammar/Tokens using Tools/peg_generator/pegen -->
<SetEnv Name= "PYTHONPATH" Prefix= "true" Value= "$(PySourcePath)Tools\peg_generator\" />
<Exec Command= ""$(PythonExe)" -m pegen.keywordgen "$(PySourcePath)Grammar\python.gram" "$(PySourcePath)Grammar\Tokens" "$(IntDir)keyword.py"" />
2019-12-17 17:21:20 -04:00
<Copy SourceFiles= "$(IntDir)keyword.py" DestinationFiles= "$(PySourcePath)Lib\keyword.py" >
<Output TaskParameter= "CopiedFiles" ItemName= "_Updated" />
</Copy>
<Warning Text= "Keywords updated. You will need to rebuild pythoncore to see the changes." Condition= "'@(_Updated)' != ''" />
</Target>
<Target Name= "_CleanFiles" BeforeTargets= "CoreClean" >
<ItemGroup >
<Clean Include= "$(IntDir)keyword.py" />
<Clean Include= "$(IntDir)opcode.h" />
<Clean Include= "$(IntDir)Python-ast.c" />
<Clean Include= "$(IntDir)Python-ast.h" />
2020-11-02 17:03:28 -04:00
<Clean Include= "$(IntDir)pycore_ast.h" />
2019-12-17 17:21:20 -04:00
</ItemGroup>
</Target>
2020-04-22 19:29:27 -03:00
</Project>