Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/vs
diff options
context:
space:
mode:
authorshermp <14854761+shermp@users.noreply.github.com>2022-06-12 11:41:17 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2022-06-14 02:44:50 +0300
commit302f1f3e02a72888dd2a971acb7a5106db67c311 (patch)
treed66754aca5325864b76658e93ac70d8e64bf43f5 /vs
parentfdbf8ab92b29d137118fb830d749e93ba4f5b9d9 (diff)
Replace xcopy with robocopy for copying resources
Robocopy allows filtering out specific name patterns such as: "meson.build" and "*.sh"
Diffstat (limited to 'vs')
-rw-r--r--vs/dosbox.vcxproj10
1 files changed, 5 insertions, 5 deletions
diff --git a/vs/dosbox.vcxproj b/vs/dosbox.vcxproj
index b9b3fa076..f2e064bae 100644
--- a/vs/dosbox.vcxproj
+++ b/vs/dosbox.vcxproj
@@ -138,7 +138,7 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<PostBuildEvent>
- <Command>%systemroot%\System32\xcopy ..\contrib\resources "$(OutDir)\resources" /s /i /y</Command>
+ <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"</Command>
<Message>Copy resources to output directory</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -180,7 +180,7 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<PostBuildEvent>
- <Command>%systemroot%\System32\xcopy ..\contrib\resources "$(OutDir)\resources" /s /i /y</Command>
+ <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"</Command>
<Message>Copy resources to output directory</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -234,7 +234,7 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<PostBuildEvent>
- <Command>%systemroot%\System32\xcopy ..\contrib\resources "$(OutDir)\resources" /s /i /y</Command>
+ <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"</Command>
<Message>Copy resources to output directory</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -289,7 +289,7 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<PostBuildEvent>
- <Command>%systemroot%\System32\xcopy ..\contrib\resources "$(OutDir)\resources" /s /i /y</Command>
+ <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"</Command>
<Message>Copy resources to output directory</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -717,4 +717,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project>
+</Project> \ No newline at end of file