windows/msvc: Fix qstr generation dependency.
The mpversion.h file must exist before py/ source can be preprocessed, but this went unnoticed because micropython.vcxproj always calls MakeVersionHdr before MakeQstrDefs.
This commit is contained in:
@@ -62,7 +62,7 @@ using(var outFile = System.IO.File.CreateText(OutputFile)) {
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Preprocess changed files, concatenate and feed into makeqstrdefs.py split/cat-->
|
<!-- Preprocess changed files, concatenate and feed into makeqstrdefs.py split/cat-->
|
||||||
<Target Name="MakeQstrDefs" DependsOnTargets="MakeDestDir" Inputs="@(ClCompile);@(QstrDependencies)" Outputs="$(QstrDefsCollected)">
|
<Target Name="MakeQstrDefs" DependsOnTargets="MakeDestDir;MakeVersionHdr" Inputs="@(ClCompile);@(QstrDependencies)" Outputs="$(QstrDefsCollected)">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PyIncDirs Include="$(PyIncDirs)"/>
|
<PyIncDirs Include="$(PyIncDirs)"/>
|
||||||
<PreProcDefs Include="%(ClCompile.PreProcessorDefinitions);NO_QSTR"/>
|
<PreProcDefs Include="%(ClCompile.PreProcessorDefinitions);NO_QSTR"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user