Skip to content

Commit

Permalink
windows/msvc: Remove variant suffix from executable filename.
Browse files Browse the repository at this point in the history
This is in line with the change made for other ports in d53c3b6: since
the default output directory already includes the variant name in it
there's no need to add it to the executable as well.
  • Loading branch information
stinos authored and dpgeorge committed Feb 1, 2023
1 parent 6250337 commit 55a76f4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions ports/windows/msvc/common.props
Expand Up @@ -6,6 +6,7 @@
<PropertyGroup>
<PyVariant Condition="'$(PyVariant)' == ''">standard</PyVariant>
<PyBuild Condition="'$(PyBuild)' == ''">build-$(PyVariant)</PyBuild>
<PyProg Condition="'$(PyProg)' == ''">micropython</PyProg>
</PropertyGroup>
<ImportGroup Label="PropertySheets">
<Import Project="paths.props" Condition="'$(PyPathsIncluded)' != 'True'"/>
Expand Down
3 changes: 0 additions & 3 deletions ports/windows/variants/dev/mpconfigvariant.props
@@ -1,8 +1,5 @@
<?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>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);MICROPY_ROM_TEXT_COMPRESSION=1</PreprocessorDefinitions>
Expand Down
3 changes: 0 additions & 3 deletions ports/windows/variants/standard/mpconfigvariant.props
@@ -1,6 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
<PropertyGroup>
<PyProg>micropython</PyProg>
</PropertyGroup>
</Project>

0 comments on commit 55a76f4

Please sign in to comment.