2015-11-12 08:42:12 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<PropertyGroup>
|
|
|
|
<PyPathsIncluded>True</PyPathsIncluded>
|
|
|
|
|
2017-09-06 05:09:13 +01:00
|
|
|
<!-- The properties below specify the directory structure.
|
2015-11-12 08:42:12 +00:00
|
|
|
This defaults to, for example for Configuration = Debug and Platform = x64:
|
|
|
|
|
|
|
|
micropython [PyBaseDir]
|
|
|
|
|- ...
|
2017-09-06 05:09:13 +01:00
|
|
|
|- ports/windows [PyWinDir]
|
|
|
|
|- ...
|
|
|
|
|- micropython.exe
|
2021-11-25 01:16:29 +00:00
|
|
|
|- build-standard [PyBuildDir]
|
2017-09-06 05:09:13 +01:00
|
|
|
|- Debugx64 [PyOutDir]
|
|
|
|
| |- ...
|
|
|
|
| |- micropython.exe
|
|
|
|
| |- micropython.map
|
|
|
|
| |- obj [PyIntDir]
|
|
|
|
|- genhdr
|
2021-11-25 01:16:29 +00:00
|
|
|
|- variants
|
|
|
|
|- standard [PyVariantDir]
|
2015-11-12 08:42:12 +00:00
|
|
|
|
|
|
|
Note that the micropython executable will be copied from PyOutDir
|
|
|
|
to PyWinDir after each build. -->
|
|
|
|
|
|
|
|
<!-- Start from project root -->
|
2017-09-06 05:09:13 +01:00
|
|
|
<PyBaseDir>$([System.IO.Path]::GetFullPath(`$(MSBuildThisFileDirectory)..\..\..`))\</PyBaseDir>
|
|
|
|
<PyWinDir>$(PyBaseDir)ports\windows\</PyWinDir>
|
2021-11-25 01:16:29 +00:00
|
|
|
<PyBuildDir Condition="'$(PyBuildDir)' == ''">$(PyWinDir)$(PyBuild)\</PyBuildDir>
|
|
|
|
<PyVariantDir Condition="'$(PyVariantDir)' == ''">$(PyWinDir)variants\$(PyVariant)\</PyVariantDir>
|
2017-08-14 11:12:30 +01:00
|
|
|
<PyTargetDir Condition="'$(PyTargetDir)' == ''">$(PyWinDir)</PyTargetDir>
|
2015-11-12 08:42:12 +00:00
|
|
|
|
|
|
|
<!-- All include directories needed for uPy -->
|
2021-11-25 01:16:29 +00:00
|
|
|
<PyIncDirs>$(PyIncDirs);$(PyBaseDir);$(PyWinDir);$(PyBuildDir);$(PyWinDir)msvc;$(PyVariantDir)</PyIncDirs>
|
2015-11-12 08:42:12 +00:00
|
|
|
|
|
|
|
<!-- Within PyBuildDir different subdirectories are used based on configuration and platform.
|
|
|
|
By default these are chosen based on the Configuration and Platform properties, but
|
|
|
|
this file might be imported by other projects (to figure out where the artifacts go
|
|
|
|
or what the include files are) and those projects might already contain conflicting
|
|
|
|
Configuration/Platform properties, so allow to override these -->
|
|
|
|
<PyPlatform Condition="'$(PyPlatform)' == ''">$(Platform)</PyPlatform>
|
|
|
|
<PyConfiguration Condition="'$(PyConfiguration)' == ''">$(Configuration)</PyConfiguration>
|
|
|
|
|
|
|
|
<!-- The final destination directories -->
|
|
|
|
<PyOutDir>$(PyBuildDir)$(PyConfiguration)$(PyPlatform)\</PyOutDir>
|
|
|
|
<PyIntDir>$(PyOutDir)obj\</PyIntDir>
|
|
|
|
</PropertyGroup>
|
|
|
|
</Project>
|