Support for running the prebuild step in a directory with spaces

This commit is contained in:
x1nixmzeng 2017-01-11 01:15:02 +00:00
parent b919ca89a6
commit d5828bbd96
1 changed files with 4 additions and 4 deletions

View File

@ -122,10 +122,10 @@
</TreatOutputAsContent>
</CustomBuildStep>
<PreBuildEvent>
<Command>$(SolutionDir)Version.bat $(SolutionDir)..\..\src\Version.h</Command>
<Command>CALL "$(SolutionDir)Version.bat" "$(SolutionDir)..\..\src\Version.h"</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Build Version.ini</Message>
<Message>Generate version header</Message>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
@ -186,10 +186,10 @@
</TreatOutputAsContent>
</CustomBuildStep>
<PreBuildEvent>
<Command>$(SolutionDir)Version.bat $(SolutionDir)..\..\src\Version.h</Command>
<Command>CALL "$(SolutionDir)Version.bat" "$(SolutionDir)..\..\src\Version.h"</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Build Version.ini</Message>
<Message>Generate version header</Message>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>