forked from ITzTravelInTime/kx-audio-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
genall.bat
executable file
·38 lines (26 loc) · 937 Bytes
/
genall.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
rem Copyright (c) Eugene Gavrilov. 2003-2014. All rights reserved
rem debug or release build:
set BUILD_TYPE=FRE
rem set BUILD_TYPE=CHK
if not exist %TEMP%\Build mkdir %TEMP%\Build
rem re-set current folder if called as administrator
cd /d %~dp0
if %BUILD_TYPE%.==. set BUILD_TYPE=FRE
echo ===================================================
echo Generate x86 and x64 drivers
echo ===================================================
echo.
echo ===================================================
echo x86 %BUILD_TYPE% build
echo ===================================================
echo.
cmd /c set_env.bat do.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
pause
echo.
echo ===================================================
echo x64 %BUILD_TYPE% build
echo ===================================================
echo.
cmd /c set_env.bat 64 do.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
pause