-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_build_only.cmd
More file actions
39 lines (33 loc) · 1.08 KB
/
_build_only.cmd
File metadata and controls
39 lines (33 loc) · 1.08 KB
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
39
@echo off
REM ========================================
REM WinKernelLite Build Script
REM ========================================
REM This script builds the WinKernelLite library
REM Usage: _build.cmd [Debug|Release]
REM Default: Debug
REM ========================================
set BUILD_CONFIG=Debug
REM Parse arguments
if not "%1"=="" (
if /i "%1"=="Debug" (
set BUILD_CONFIG=Debug
) else if /i "%1"=="Release" (
set BUILD_CONFIG=Release
) else (
echo ERROR: Invalid build configuration. Use Debug or Release.
echo Usage: _build.cmd [Debug^|Release]
exit /b 1
)
)
echo ========================================
echo Building WinKernelLite library in %BUILD_CONFIG% mode...
echo ========================================
call _run_all.cmd %BUILD_CONFIG% --build-only
if %ERRORLEVEL% neq 0 (
echo ERROR: Execution failed!
exit /b %ERRORLEVEL%
)
echo ========================================
echo Build, test, and installation completed successfully!
echo Configuration: %BUILD_CONFIG%
echo ========================================