-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_release.bat
More file actions
36 lines (31 loc) · 852 Bytes
/
build_release.bat
File metadata and controls
36 lines (31 loc) · 852 Bytes
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
@echo off
REM Build FlutterReflect in Release mode
echo ========================================
echo Building FlutterReflect (Release)
echo ========================================
echo.
REM Check if build directory exists
if not exist build (
echo Build directory not found!
echo Run generate_vs_solution.bat first.
pause
exit /b 1
)
REM Build Release configuration
echo Building Release configuration...
cmake --build build --config Release --parallel
if %errorlevel% equ 0 (
echo.
echo ========================================
echo Build successful!
echo ========================================
echo.
echo Executable: build\Release\flutter_reflect.exe
echo Size:
dir /s build\Release\flutter_reflect.exe | findstr flutter_reflect.exe
echo.
) else (
echo.
echo Build failed!
)
pause