mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
windows/msvc: Remove unneeded definitions for qstr generation.
These were probably added to detect more qstrs but as long as the micropython executable itself doesn't use the same build options the qstrs would be unused anyway. Furthermore these definitions are for internal use and get enabled when corresponding MICROPY_EMIT_XXX are defined, in which case the compiler would warn about symbol redefinitions since they'd be defined both here and in the source.
This commit is contained in:
@@ -54,7 +54,7 @@ using(var outFile = System.IO.File.CreateText(OutputFile)) {
|
|||||||
<Target Name="MakeQstrDefs" DependsOnTargets="MakeDestDir" Inputs="@(ClCompile);@(QstrDependencies)" Outputs="$(QstrDefsCollected)">
|
<Target Name="MakeQstrDefs" DependsOnTargets="MakeDestDir" Inputs="@(ClCompile);@(QstrDependencies)" Outputs="$(QstrDefsCollected)">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PyIncDirs Include="$(PyIncDirs)"/>
|
<PyIncDirs Include="$(PyIncDirs)"/>
|
||||||
<PreProcDefs Include="%(ClCompile.PreProcessorDefinitions);NO_QSTR;N_X64;N_X86;N_THUMB;N_ARM"/>
|
<PreProcDefs Include="%(ClCompile.PreProcessorDefinitions);NO_QSTR"/>
|
||||||
<PyQstrSourceFiles Include="@(ClCompile)">
|
<PyQstrSourceFiles Include="@(ClCompile)">
|
||||||
<OutFile>$([System.String]::new('%(FullPath)').Replace('$(PyBaseDir)', '$(DestDir)qstr\'))</OutFile>
|
<OutFile>$([System.String]::new('%(FullPath)').Replace('$(PyBaseDir)', '$(DestDir)qstr\'))</OutFile>
|
||||||
</PyQstrSourceFiles>
|
</PyQstrSourceFiles>
|
||||||
|
|||||||
Reference in New Issue
Block a user