From: Chris Dickens Date: Mon, 9 Jan 2017 23:29:55 +0000 (-0800) Subject: Windows: Fix DDK build's missing files X-Git-Tag: upstream/1.0.22~144 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=322d1465725fdd6756380181e1b01cfd421d147e;p=platform%2Fupstream%2Flibusb.git Windows: Fix DDK build's missing files Signed-off-by: Chris Dickens --- diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 8403ef2..b6afcdd 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11163 +#define LIBUSB_NANO 11168 diff --git a/msvc/ddk_build.cmd b/msvc/ddk_build.cmd index c0b905a..48d7804 100644 --- a/msvc/ddk_build.cmd +++ b/msvc/ddk_build.cmd @@ -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