-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_all_examples.bat
More file actions
48 lines (40 loc) · 1.12 KB
/
run_all_examples.bat
File metadata and controls
48 lines (40 loc) · 1.12 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
@echo off
chcp 65001 >nul
echo OpenGL Examples - Run All
echo ==========================
echo This will run all 4 examples in sequence.
echo Close each window to proceed to the next example.
echo.
cd build\Release
if not exist "01_window.exe" (
echo Example programs are not built yet.
echo Please run build.bat first to build the project.
pause
exit /b 1
)
echo Press any key to start running all examples...
pause
echo.
echo Running Example 1: Basic Window
echo ================================
echo Close the window to continue to the next example.
01_window.exe
echo.
echo Running Example 2: First Triangle
echo ==================================
echo Close the window to continue to the next example.
02_triangle.exe
echo.
echo Running Example 3: Shaders and Colors
echo ======================================
echo Close the window to continue to the next example.
03_shaders.exe
echo.
echo Running Example 4: Textures and Patterns
echo =========================================
echo Close the window to finish.
04_textures.exe
echo.
echo All examples completed!
echo Thanks for trying the OpenGL examples.
pause