diff options
author | Pete Batard <pbatard@gmail.com> | 2010-04-19 11:56:33 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-04-19 11:56:33 +0100 |
commit | 63edc0276d5f3fb2975954c33f14d2b995257b0e (patch) | |
tree | d062c93c3ec628ce861253aa0a9c6db6fba0f71a /ddk_build.cmd | |
parent | 7e0a17af9df644b2d30576b58b97e8782a40386a (diff) | |
download | libusb-63edc0276d5f3fb2975954c33f14d2b995257b0e.tar.gz |
restore builds of DLLs from the DDKr264
Diffstat (limited to 'ddk_build.cmd')
-rw-r--r-- | ddk_build.cmd | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ddk_build.cmd b/ddk_build.cmd index 4ce38bd..23f2711 100644 --- a/ddk_build.cmd +++ b/ddk_build.cmd @@ -8,9 +8,17 @@ set version=1.0 cd libusb\os rem DLL or static lib selection (must use concatenation) +if Test%1==TestDLL goto libusb_dll +:libusb_static set TARGET=LIBRARY -if Test%1==TestDLL set TARGET=DYNLINK +set LIBDEF= +goto libusb_common +:libusb_dll +set TARGET=DYNLINK +set LIBDEF=/DLIBUSB_DLL_BUILD +:libusb_common echo TARGETTYPE=%TARGET% > target +echo LIBUSB_DEFINES=%LIBDEF% >> target copy target+libusb_sources sources >NUL 2>&1 del target @echo on |