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-11 06:20:20 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2022-06-14 02:44:50 +0300
commite7f7e3098e9b832605dcf14e7d46843d4795b1f6 (patch)
tree5f6f6f584412359f35bdf99732bbc0d325e5248e /vs
parent302f1f3e02a72888dd2a971acb7a5106db67c311 (diff)
Copy speexdsp.dll with msbuild instead of CI
Workaround for https://github.com/microsoft/vcpkg/issues/25067
Diffstat (limited to 'vs')
-rw-r--r--vs/dosbox.vcxproj12
1 files changed, 8 insertions, 4 deletions
diff --git a/vs/dosbox.vcxproj b/vs/dosbox.vcxproj
index f2e064bae..217574dcc 100644
--- a/vs/dosbox.vcxproj
+++ b/vs/dosbox.vcxproj
@@ -138,7 +138,8 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<PostBuildEvent>
- <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"</Command>
+ <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"
+%systemroot%\System32\xcopy "$(VcpkgManifestRoot)\vcpkg_installed\$(VcpkgTriplet)\$(VcpkgTriplet)\bin\speexdsp.dll" "$(OutDir)libspeexdsp.dll*" /y</Command>
<Message>Copy resources to output directory</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -180,7 +181,8 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<PostBuildEvent>
- <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"</Command>
+ <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"
+%systemroot%\System32\xcopy "$(VcpkgManifestRoot)\vcpkg_installed\$(VcpkgTriplet)\$(VcpkgTriplet)\bin\speexdsp.dll" "$(OutDir)libspeexdsp.dll*" /y</Command>
<Message>Copy resources to output directory</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -234,7 +236,8 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<PostBuildEvent>
- <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"</Command>
+ <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"
+%systemroot%\System32\xcopy "$(VcpkgManifestRoot)\vcpkg_installed\$(VcpkgTriplet)\$(VcpkgTriplet)\bin\speexdsp.dll" "$(OutDir)libspeexdsp.dll*" /y</Command>
<Message>Copy resources to output directory</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -289,7 +292,8 @@
<Culture>0x0409</Culture>
</ResourceCompile>
<PostBuildEvent>
- <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"</Command>
+ <Command>%systemroot%\System32\robocopy ..\contrib\resources "$(OutDir)resources" /mir /xf "meson.build" "*.sh"
+%systemroot%\System32\xcopy "$(VcpkgManifestRoot)\vcpkg_installed\$(VcpkgTriplet)\$(VcpkgTriplet)\bin\speexdsp.dll" "$(OutDir)libspeexdsp.dll*" /y</Command>
<Message>Copy resources to output directory</Message>
</PostBuildEvent>
</ItemDefinitionGroup>