Merge pull request #93 from x1nixmzeng/version-prebuild-fix

Support for running the prebuild step in a directory with spaces
This commit is contained in:
Luke Usher 2017-01-11 05:50:32 +00:00 committed by GitHub
commit f5acdd5773
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>