summaryrefslogtreecommitdiff
path: root/msvc/ddk_build.cmd
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2013-05-15 17:39:47 +0200
committerHans de Goede <hdegoede@redhat.com>2013-05-16 10:55:13 +0200
commit7e858a3408e71a7aa24327e80e495b57f0b8b999 (patch)
treed3c9cc499828543e2cb2a91f355ddbcf797a5ac5 /msvc/ddk_build.cmd
parent4198182d19307040931f44d8d4ce97f254f4e434 (diff)
downloadlibusb-7e858a3408e71a7aa24327e80e495b57f0b8b999.tar.gz
Add hotplugtest to msvc project files
Diffstat (limited to 'msvc/ddk_build.cmd')
-rw-r--r--msvc/ddk_build.cmd24
1 files changed, 22 insertions, 2 deletions
diff --git a/msvc/ddk_build.cmd b/msvc/ddk_build.cmd
index a68b5e2..aadab50 100644
--- a/msvc/ddk_build.cmd
+++ b/msvc/ddk_build.cmd
@@ -120,9 +120,9 @@ copy ..\..\..\msvc\getopt_sources sources >NUL 2>&1
if errorlevel 1 goto builderror
cd ..\..\..
-if exist examples\fxload_ddkbuild goto md8
+if exist examples\fxload_ddkbuild goto md10
md examples\fxload_ddkbuild
-:md8
+:md10
cd examples\fxload_ddkbuild
copy ..\..\msvc\fxload_sources sources >NUL 2>&1
@@ -140,6 +140,26 @@ copy %srcPath%\fxload.pdb %dstPath%\examples
@echo off
+if exist examples\hotplugtest_ddkbuild goto md11
+md examples\hotplugtest_ddkbuild
+:md11
+
+cd examples\hotplugtest_ddkbuild
+copy ..\..\msvc\hotplugtest_sources sources >NUL 2>&1
+@echo on
+%BUILD_CMD%
+@echo off
+if errorlevel 1 goto builderror
+cd ..\..
+
+set srcPath=examples\hotplugtest_ddkbuild\obj%BUILD_ALT_DIR%\%cpudir%
+@echo on
+
+copy %srcPath%\hotplugtest.exe %dstPath%\examples
+copy %srcPath%\hotplugtest.pdb %dstPath%\examples
+
+@echo off
+
cd msvc
goto done