-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_debug.bat
More file actions
43 lines (38 loc) · 999 Bytes
/
build_debug.bat
File metadata and controls
43 lines (38 loc) · 999 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
37
38
39
40
41
42
43
@echo off
REM Build FlutterReflect in Debug mode
echo ========================================
echo Building FlutterReflect (Debug)
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 Debug configuration
echo Building Debug configuration...
cmake --build build --config Debug --parallel
if %errorlevel% equ 0 (
echo.
echo ========================================
echo Build successful!
echo ========================================
echo.
echo Executable: build\Debug\flutter_reflect.exe
echo Tests: build\Debug\flutter_reflect_tests.exe
echo.
echo Run tests? (Y/n)
set RUN_TESTS=y
set /p RUN_TESTS=
if /i "!RUN_TESTS!"=="y" (
echo.
echo Running tests...
build\Debug\flutter_reflect_tests.exe
)
) else (
echo.
echo Build failed!
)
pause