diff options
| author | stijn <stijn@ignitron.net> | 2022-02-22 15:42:50 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-02-25 16:41:11 +1100 |
| commit | c2e8a5acd267e55a11a709d44f0385d0a40f3ec9 (patch) | |
| tree | f9905ed1d545d92d3ea9d14883b8a205d76ea0de | |
| parent | d6564a315967f80aafaa4c117892d0b21b0cb2bc (diff) | |
windows: Unify project file headers.
The xmlns attribute is required for older msbuild version (e.g. for
VS2015). Add it where needed, and reorder the attributes so all
files look the same.
| -rw-r--r-- | mpy-cross/mpy-cross.vcxproj | 2 | ||||
| -rw-r--r-- | ports/windows/micropython.vcxproj | 2 | ||||
| -rw-r--r-- | ports/windows/msvc/genhdr.targets | 2 | ||||
| -rw-r--r-- | ports/windows/msvc/sources.props | 2 | ||||
| -rw-r--r-- | ports/windows/variants/dev/mpconfigvariant.props | 3 | ||||
| -rw-r--r-- | ports/windows/variants/standard/mpconfigvariant.props | 3 |
6 files changed, 8 insertions, 6 deletions
diff --git a/mpy-cross/mpy-cross.vcxproj b/mpy-cross/mpy-cross.vcxproj index e70b29ae1..53cb0fa1f 100644 --- a/mpy-cross/mpy-cross.vcxproj +++ b/mpy-cross/mpy-cross.vcxproj @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0" DefaultTargets="Build"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> diff --git a/ports/windows/micropython.vcxproj b/ports/windows/micropython.vcxproj index 6817d6ed1..d5e3f57d8 100644 --- a/ports/windows/micropython.vcxproj +++ b/ports/windows/micropython.vcxproj @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0" DefaultTargets="Build"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> diff --git a/ports/windows/msvc/genhdr.targets b/ports/windows/msvc/genhdr.targets index ed97a455d..b53894f21 100644 --- a/ports/windows/msvc/genhdr.targets +++ b/ports/windows/msvc/genhdr.targets @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="GenerateHeaders"> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0" DefaultTargets="GenerateHeaders"> <Import Project="paths.props" Condition="'$(PyPathsIncluded)' != 'True'"/> diff --git a/ports/windows/msvc/sources.props b/ports/windows/msvc/sources.props index e5109eecc..a6dfd48aa 100644 --- a/ports/windows/msvc/sources.props +++ b/ports/windows/msvc/sources.props @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0"> <Import Project="paths.props" Condition="'$(PyPathsIncluded)' != 'True'"/> <ItemGroup> <PyCoreSource Include="$(PyBaseDir)py\*.c" /> diff --git a/ports/windows/variants/dev/mpconfigvariant.props b/ports/windows/variants/dev/mpconfigvariant.props index d01d74b44..5f78d6e62 100644 --- a/ports/windows/variants/dev/mpconfigvariant.props +++ b/ports/windows/variants/dev/mpconfigvariant.props @@ -1,4 +1,5 @@ -<Project> +<?xml version="1.0" encoding="utf-8"?> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0"> <PropertyGroup> <PyProg>micropython-dev</PyProg> </PropertyGroup> diff --git a/ports/windows/variants/standard/mpconfigvariant.props b/ports/windows/variants/standard/mpconfigvariant.props index 0157102fd..3cbb1821f 100644 --- a/ports/windows/variants/standard/mpconfigvariant.props +++ b/ports/windows/variants/standard/mpconfigvariant.props @@ -1,4 +1,5 @@ -<Project> +<?xml version="1.0" encoding="utf-8"?> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0"> <PropertyGroup> <PyProg>micropython</PyProg> </PropertyGroup> |
