forked from open-watcom/open-watcom-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmnvars.bat
executable file
·43 lines (33 loc) · 1.13 KB
/
cmnvars.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
@echo off
REM *****************************************************************
REM CMNVARS.BAT - common environment variables
REM *****************************************************************
REM NOTE: All batch files to set the environment must call this batch
REM file at the end.
REM Set the version numbers
set OWBLDVER=20
set OWBLDVERSTR=2.0
REM Set up default path information variables
if not "%OWDEFPATH%" == "" goto defpath_set
set OWDEFPATH=%PATH%;
set OWDEFINCLUDE=%INCLUDE%
set OWDEFWATCOM=%WATCOM%
:defpath_set
REM Subdirectory to be used for build binaries
set OWBINDIR=%OWROOT%\build\bin
REM Subdirectory containing OW sources
set OWSRCDIR=%OWROOT%\bld
REM Subdirectory containing documentation sources
set OWDOCSDIR=%OWROOT%\docs
REM Set environment variables
set PATH=%OWBINDIR%;%OWROOT%\build;%OWDEFPATH%
set INCLUDE=%OWDEFINCLUDE%
set WATCOM=%OWDEFWATCOM%
REM OS specifics
REM setup right COMSPEC for non-standard COMSPEC setting on NT based systems
if not '%OS%' == 'Windows_NT' goto no_windows_nt
set COMSPEC=%WINDIR%\system32\cmd.exe
set COPYCMD=/y
:no_windows_nt
set DOS4G=quiet
echo Open Watcom build environment