diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2017-01-09 15:29:55 -0800 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2017-01-12 15:02:40 -0800 |
commit | 322d1465725fdd6756380181e1b01cfd421d147e (patch) | |
tree | d359d26f2687f4bc087d3d883dcf487a02384d45 /msvc | |
parent | 96f8273c5e0ce6528c503f51c0d7e56307c87e93 (diff) | |
download | libusb-322d1465725fdd6756380181e1b01cfd421d147e.tar.gz |
Windows: Fix DDK build's missing files
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'msvc')
-rw-r--r-- | msvc/ddk_build.cmd | 8 |
1 files changed, 4 insertions, 4 deletions
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 |