aboutsummaryrefslogtreecommitdiff
path: root/msvc/ddk_build.cmd
diff options
context:
space:
mode:
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