2 rem produce the DDK binary files for snapshots
3 rem !!!THIS SCRIPT IS FOR INTERNAL DEVELOPER USE ONLY!!!
5 if NOT x
%DDK_TARGET_OS%==xWinXP
goto usage
9 mkdir E
:\dailies\
%DATE%
10 for %%A in
(MS32 MS64
) do mkdir E
:\dailies\
%DATE%\
%%A
11 for %%A in
(MS32 MS64
) do mkdir E
:\dailies\
%DATE%\
%%A\static
12 for %%A in
(MS32 MS64
) do mkdir E
:\dailies\
%DATE%\
%%A\dll
13 for %%A in
(source bin32 bin64
) do mkdir E
:\dailies\
%DATE%\examples\
%%A
14 copy examples\listdevs.c E
:\dailies\
%DATE%\examples\source
15 copy examples\xusb.c E
:\dailies\
%DATE%\examples\source
16 copy msvc\stdint.h E
:\dailies\
%DATE%\examples\source
17 copy .private\wbs.txt E
:\dailies\
%DATE%\README.txt
19 set ORG_BUILD_ALT_DIR
=%BUILD_ALT_DIR%
20 set ORG_BUILDARCH
=%_BUILDARCH%
22 set ORG_BUILD_DEFAULT_TARGETS
=%BUILD_DEFAULT_TARGETS%
26 set BUILD_DEFAULT_TARGETS
=-386
29 set PATH=%BASEDIR%\bin
\x86;%BASEDIR%\bin
\x86\x86
36 copy Win32\Release\lib\libusb
-1.0.lib E
:\dailies\
%DATE%\MS32\static
37 copy Win32\Release\examples\listdevs.exe E
:\dailies\
%DATE%\examples
\bin
32
38 copy Win32\Release\examples\xusb.exe E
:\dailies\
%DATE%\examples
\bin
32
45 copy Win32\Release\lib\libusb
-1.0.lib E
:\dailies\
%DATE%\MS32\dll
46 copy Win32\Release\dll\libusb
-1.0.dll E
:\dailies\
%DATE%\MS32\dll
50 set BUILD_DEFAULT_TARGETS
=-amd64
53 set PATH=%BASEDIR%\bin
\x86\amd
64;%BASEDIR%\bin
\x86
60 copy x64\Release\lib\libusb
-1.0.lib E
:\dailies\
%DATE%\MS64\static
61 copy x64\Release\examples\listdevs.exe E
:\dailies\
%DATE%\examples
\bin
64
62 copy x64\Release\examples\xusb.exe E
:\dailies\
%DATE%\examples
\bin
64
69 copy x64\Release\lib\libusb
-1.0.lib E
:\dailies\
%DATE%\MS64\dll
70 copy x64\Release\dll\libusb
-1.0.dll E
:\dailies\
%DATE%\MS64\dll
72 set BUILD_ALT_DIR
=%ORG_BUILD_ALT_DIR%
73 set _BUILDARCH
=%ORG_BUILDARCH%
75 set BUILD_DEFAULT_TARGETS
=%ORG_BUILD_DEFAULT_TARGETS%
80 echo must be
run in a WXP build environment
!