-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrebuild.cmd
48 lines (41 loc) · 1.29 KB
/
rebuild.cmd
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 &:: echo will be restored when script ends
SETLOCAL &:: keep variables local to this file
:: abstract output to capture and be quiet, if desired
set DEBUG_LOG="%~dp0.wip\debug.log"
:: quiet mode - only see errors
REM set DEBUG_LOG=NUL
:: standard output viewed in terminal
REM set DEBUG_LOG=?
PUSHD "%~dp0"
ECHO. >>%DEBUG_LOG%
ECHO. >>%DEBUG_LOG%
ECHO ----- building examples ----- >>%DEBUG_LOG%
fasmg examples\_threads.asm >>%DEBUG_LOG%
fasmg examples\test.ITextHost2.asm >>%DEBUG_LOG%
fasmg examples\vt100.asm >>%DEBUG_LOG%
fasmg examples\xoshiro_threads.asm >>%DEBUG_LOG%
fasmg examples\glob_test\glob_test.asm >>%DEBUG_LOG%
fasmg examples\ducts\mtf.asm >>%DEBUG_LOG%
fasmg examples\cmdline\ShowParams.asm >>%DEBUG_LOG%
fasmg examples\TaskDialog\TaskDlgSamples.asm >>%DEBUG_LOG%
fasmg examples\wnd_tests\mag.asm >>%DEBUG_LOG%
PUSHD "examples\in-tale" 2>>NUL
If %errorlevel% EQU 0 (
ECHO ----- menu.cmd ----- >>%DEBUG_LOG%
CALL menu.cmd >>%DEBUG_LOG%
POPD
)
PUSHD "tools" 2>>NUL
If %errorlevel% EQU 0 (
ECHO ----- build.cmd ----- >>%DEBUG_LOG%
CALL build.cmd >>%DEBUG_LOG%
POPD
)
:: TODO:
:: + raylib examples
:: + SDL examples
:: + \addon\editor\kate\
:: + x86_fasmg\.process.cmd
:: + .install.cmd
:: + .CMD files are not highlighted
POPD