-
Notifications
You must be signed in to change notification settings - Fork 10
/
setvars.bat
58 lines (43 loc) · 1.91 KB
/
setvars.bat
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
49
50
51
52
53
54
55
56
57
58
@echo off
REM *****************************************************************
REM SETVARS.BAT - Windows NT version
REM *****************************************************************
REM NOTE: Do not use this batch file directly, but copy it and
REM modify it as necessary for your own use!!
REM Setup environment variables for Perforce
set P4PORT=perforce.openwatcom.org:3488
set P4USER=YourName
set P4CLIENT=YOURCLIENT
set P4PASSWD=YourPassword
REM Change this to point to your Open Watcom source tree - must be an 8.3 name!
set OWROOT=d:\ow
REM Change this to point to your existing Open Watcom installation
set WATCOM=c:\c\ow10
REM Change this to the PATH required by GhostScript for PDF creation on used host OS (optional)
set GHOSTSCRIPTPATH=c:\gs\gs7.04\bin;c:\gs\gs7.04\lib
REM Set this variable to 1 to get debug build
set DEBUG_BUILD=0
REM Set this variable to 1 to get default windowing support in clib
set DEFAULT_WINDOWING=0
REM Set this variable to 0 to suppress documentation build
set DOC_BUILD=1
REM Documentation related variables
REM set appropriate variables to point to Windows help compilers which you have installed
rem set WIN95HC=hcrtf
rem set HHC=hhc
if not '%OS%' == 'Windows_NT' goto common_setup
REM build process requires WGML utility which is available only as DOS executable
REM on Windows platforms which don't have NTVDM or if WGML doesn't work under NTVDM
REM DOSBOX emulator must be installed and OWDOSBOX variable must be set
REM It is necessary for all 64-bit Windows and Windows 7 32-bit
REM Uncoment and set OWDOSBOX variable bellow to point to DOSBOX emulator executable
REM path must not include any spaces
REM set OWDOSBOX=dosbox
:common_setup
REM Subdirectory to be used for bootstrapping
set OBJDIR=bootstrp
REM Subdirectory to be used for building prerequisite utilities
set PREOBJDIR=prebuild
REM Invoke the batch file for the common environment
call %OWROOT%\cmnvars.bat
cd %DEVDIR%