-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
53 lines (44 loc) · 1.17 KB
/
build.bat
File metadata and controls
53 lines (44 loc) · 1.17 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
40
41
42
43
44
45
46
47
48
49
50
51
52
@echo off
REM ========================================
REM Bit HCI - 统一构建脚本
REM 构建整个项目(native + 所有组件)
REM ========================================
setlocal enabledelayedexpansion
echo.
echo ========================================
echo Building Bit HCI Project
echo ========================================
echo.
REM 切换到项目根目录
cd /d "%~dp0.."
REM 检查 build 目录是否存在
if not exist "build" (
echo ERROR: Build directory not found!
echo Please run scripts\configure.bat first.
exit /b 1
)
echo Building all targets...
echo.
REM 构建项目
cmake --build build --config Release
if errorlevel 1 (
echo.
echo ========================================
echo ERROR: Build failed!
echo ========================================
exit /b 1
)
echo.
echo ========================================
echo Build Complete!
echo ========================================
echo.
echo Output directory: build\bin\
echo.
echo Generated files:
echo - bitui_native.exe (Native runtime)
echo - *.dll (Component libraries)
echo.
echo To run: build\bin\bitui_native.exe [component.dll]
echo.
exit /b 0