-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdosbox.conf
More file actions
43 lines (34 loc) · 878 Bytes
/
Copy pathdosbox.conf
File metadata and controls
43 lines (34 loc) · 878 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
[cpu]
cycles=max
turbo=true
[log]
logfile=dosbox_console_log.txt
loglevel=normal
debuggerrun=normal
[autoexec]
@echo on
setlocal
REM Mount the current directory as C:
mount c .
REM Change to the source directory
c:
cd \WOLFSRC
REM Set up the environment for Borland C++
SET PATH=c:\BORLANDC\BIN;%PATH%
SET INCLUDE=c:\BORLANDC\INCLUDE
SET LIB=c:\BORLANDC\LIB
REM Compile the project and log output
echo Compiling Wolf3D...
REM BC /b wolf3d.prj > c:\WOLF3D\build_log.txt 2>&1
BC /b wolf3d.prj
REM Check if compilation was successful
REM if %errorlevel% neq 0 (
REM echo Compilation failed. Check build_log.txt for details.
REM type c:\WOLF3D\build_log.txt
REM exit /b %errorlevel%
REM )
REM Copy the compiled executable and required files to the output directory
copy c:\WOLFSRC\OBJ\wolf3d.exe c:\WOLF3D
REM End of batch file
echo Build process completed.
exit