- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCodeBlocksBuildAll.cmd
More file actions
Latest commit
34 lines (28 loc) · 813 Bytes
/
Copy pathCodeBlocksBuildAll.cmd
File metadata and controls
34 lines (28 loc) · 813 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
@echooff
rem ************************************************************
rem
rem Script to build all Code::Blocks workspaces.
rem
rem ************************************************************
setlocalenabledelayedexpansion
:handle_help_request
if /i "%~1"=="-?"call :usage&exit /b 0
if /i "%~1"=="--help"call :usage&exit /b 0
:check_args
:do_builds
for /r %%iin (*.workspace) do (
echo ============================================================
echo Building '%%i'
echo ============================================================
call"%~dp0CodeBlocksBuild.cmd""%%i"
)
:success
exit /b 0
rem ************************************************************
rem Functions
rem ************************************************************
:usage
echo.
echo Usage: %~n0
echo.
goto :eof