Windows: Fix DDK build's missing files
authorChris Dickens <christopher.a.dickens@gmail.com>
Mon, 9 Jan 2017 23:29:55 +0000 (15:29 -0800)
committerChris Dickens <christopher.a.dickens@gmail.com>
Thu, 12 Jan 2017 23:02:40 +0000 (15:02 -0800)
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/version_nano.h
msvc/ddk_build.cmd

index 8403ef2..b6afcdd 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11163
+#define LIBUSB_NANO 11168
index c0b905a..48d7804 100644 (file)
@@ -53,13 +53,13 @@ set dstPath=%destType%\Release
 :isDebug
 
 if exist %destType% goto md2
-mkdir %destType%
+md %destType%
 :md2
 if exist %dstPath% goto md3
-mkdir %dstPath%
+md %dstPath%
 :md3
 if exist %dstPath%\dll goto md4
-mkdir %dstPath%\dll
+md %dstPath%\dll
 :md4
 if exist %dstPath%\lib goto md5
 md %dstPath%\lib
@@ -69,7 +69,7 @@ md %dstPath%\examples
 :md6
 @echo on
 
-@if /I NOT Test%1==TestDLL goto copylib
+if %TARGET%==LIBRARY goto copylib
 copy %srcPath%\libusb-%version%.dll %dstPath%\dll
 copy %srcPath%\libusb-%version%.pdb %dstPath%\dll
 :copylib