code_twain/build_all.bat

86 lines
2.1 KiB
Batchfile
Raw Normal View History

echo off
2022-07-27 09:05:46 +00:00
set OEM=""
set NOV=""
2022-08-05 09:34:18 +00:00
if "%1"=="hw" (
set OEM=%1
) else if "%1"=="lsc" (
set OEM=%1
2022-11-09 07:39:39 +00:00
) else if "%1"=="cts" (
set OEM=%1
)else if "%2"=="hw" (
2022-08-05 09:34:18 +00:00
set OEM=%2
) else if "%2"=="lsc" (
set OEM=%2
2022-11-09 07:39:39 +00:00
) else if "%2"=="cts" (
set OEM=%2
)else if "%3"=="hw" (
2022-08-05 09:34:18 +00:00
set OEM=%3
) else if "%3"=="lsc" (
set OEM=%3
2022-11-09 07:39:39 +00:00
) else if "%3"=="cts" (
set OEM=%3
2022-08-05 09:34:18 +00:00
)
2022-07-27 09:05:46 +00:00
if "%1"=="nov" (
2022-08-05 09:34:18 +00:00
set NOV=%1
) else if "%2"=="nov" (
set NOV=%2
) else if "%3"=="nov" (
set NOV=%3
2022-07-27 09:05:46 +00:00
)
2022-11-09 09:54:33 +00:00
echo oem=%OEM%
2022-08-05 09:34:18 +00:00
if "%CPU%"=="" (
set CPU=x86
)
echo build -cpu %CPU% -oem %OEM% %NOV%
set CPU=x64
2022-07-27 09:05:46 +00:00
if "%OEM%"=="hw" (
2022-11-09 09:54:33 +00:00
build.bat %OEM% x64 0x1000 %NOV%
build.bat %OEM% x64 onlytwain 0x1002 nov
build.bat %OEM% x64 onlytwain 0x7000 nov
build.bat %OEM% x64 onlytwain 0x7002 nov
build.bat %OEM% x64 onlytwain 0x7039 nov
build.bat %OEM% x64 onlytwain 0x8000 nov
build.bat %OEM% x64 onlytwain 0x9000 nov
set CPU=x86
2022-11-09 09:54:33 +00:00
build.bat %OEM% x86 0x1000 nov
build.bat %OEM% x86 onlytwain 0x1002 nov
build.bat %OEM% x86 onlytwain 0x7000 nov
build.bat %OEM% x86 onlytwain 0x7002 nov
build.bat %OEM% x86 onlytwain 0x7039 nov
build.bat %OEM% x86 onlytwain 0x8000 nov
build.bat %OEM% x86 onlytwain 0x9000 nov
2022-07-27 09:05:46 +00:00
) else if "%OEM%" == "lsc" (
2022-11-09 09:54:33 +00:00
build.bat %OEM% x64 0x8420 %NOV%
build.bat %OEM% x64 onlytwain 0x8520 nov
build.bat %OEM% x64 onlytwain 0x8620 nov
build.bat %OEM% x64 onlytwain 0x8730 nov
set CPU=x86
2022-11-09 09:54:33 +00:00
build.bat %OEM% x86 0x8420 nov
build.bat %OEM% x86 onlytwain 0x8520 nov
build.bat %OEM% x86 onlytwain 0x8620 nov
build.bat %OEM% x86 onlytwain 0x8730 nov
2022-11-09 07:39:39 +00:00
) else if "%OEM%" == "cts" (
2023-01-12 09:00:11 +00:00
build.bat %OEM% x64 0x6006 %NOV%
build.bat %OEM% x64 onlytwain 0x6005 nov
2022-11-09 09:54:33 +00:00
build.bat %OEM% x64 onlytwain 0x0238 nov
build.bat %OEM% x64 onlytwain 0x0138 nov
2022-11-09 07:39:39 +00:00
set CPU=x86
2023-01-12 09:00:11 +00:00
build.bat %OEM% x86 0x6006 nov
build.bat %OEM% x86 onlytwain 0x6005 nov
2022-11-09 09:54:33 +00:00
build.bat %OEM% x86 onlytwain 0x0238 nov
build.bat %OEM% x86 onlytwain 0x0138 nov
2022-11-09 07:39:39 +00:00
)else (
build.bat x64 0x100 %NOV%
build.bat x64 onlytwain 0x200 nov
build.bat x64 onlytwain 0x300 nov
build.bat x64 onlytwain 0x400 nov
set CPU=x86
build.bat x86 0x100 nov
build.bat x86 onlytwain 0x200 nov
build.bat x86 onlytwain 0x300 nov
build.bat x86 onlytwain 0x400 nov
)