(PostBuildEvent): fixed 'directory already exists' warning.

This commit is contained in:
morkt 2016-09-29 11:23:41 +04:00
parent 4533787c57
commit 0134583782

View File

@ -789,7 +789,7 @@
exit 0</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>mkdir "$(TargetDir)\GameData"
<PostBuildEvent>if not exist "$(TargetDir)\GameData" mkdir "$(TargetDir)\GameData"
xcopy "$(ProjectDir)\Resources\Formats.dat" "$(TargetDir)\GameData\" /D /Y &gt;NUL</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.