967ceba5b7
This allows multiple versions (e.g. Debug/Release, x86/x64) of micropython.exe to co-exist instead and also solves potential problems where msbuild does not completely rebuild the output and/or pdb files when switching between builds, which in turn can cause linker errors in dependent projects. By default exe/map/... files go in windows/build/$(Configuration)$(Platform) After each build micropython.exe is still copied from the above directory to the windows directory though, as that is consistent with the other ports and the test runner by default uses that location as well. Also rename env.props -> path.props which is a clearer name, and add ample documentation in the affected build files. (also see discussion in #1538)
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="paths.props" Condition="'$(PyPathsIncluded)' != 'True'"/>
|
|
<ItemGroup>
|
|
<ClCompile Include="$(PyBaseDir)py\*.c" />
|
|
<ClCompile Include="$(PyBaseDir)windows\*.c" />
|
|
<ClCompile Include="$(PyBaseDir)windows\msvc\*.c" />
|
|
<ClCompile Include="$(PyBaseDir)lib\mp-readline\*.c" />
|
|
<ClCompile Include="$(PyBaseDir)unix\file.c"/>
|
|
<ClCompile Include="$(PyBaseDir)unix\gccollect.c"/>
|
|
<ClCompile Include="$(PyBaseDir)unix\input.c"/>
|
|
<ClCompile Include="$(PyBaseDir)unix\main.c"/>
|
|
<ClCompile Include="$(PyBaseDir)unix\modos.c"/>
|
|
<ClCompile Include="$(PyBaseDir)unix\modtime.c"/>
|
|
<ClCompile Include="$(PyBaseDir)extmod\modmachine.c" />
|
|
<ClCompile Include="$(PyBaseDir)extmod\modubinascii.c" />
|
|
<ClCompile Include="$(PyBaseDir)extmod\moductypes.c" />
|
|
<ClCompile Include="$(PyBaseDir)extmod\moduhashlib.c" />
|
|
<ClCompile Include="$(PyBaseDir)extmod\moduheapq.c" />
|
|
<ClCompile Include="$(PyBaseDir)extmod\modujson.c" />
|
|
<ClCompile Include="$(PyBaseDir)extmod\modure.c" />
|
|
<ClCompile Include="$(PyBaseDir)extmod\moduzlib.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="$(PyBaseDir)py\*.h" />
|
|
<ClInclude Include="$(PyBaseDir)windows\*.h" />
|
|
<ClInclude Include="$(PyBaseDir)windows\msvc\*.h" />
|
|
</ItemGroup>
|
|
</Project>
|