-
Notifications
You must be signed in to change notification settings - Fork 162
/
setvars.sh
executable file
·97 lines (68 loc) · 2.89 KB
/
setvars.sh
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/bin/sh
# *****************************************************************
# setvars - Linux version
# *****************************************************************
# NOTE: Do not use this script directly, but copy it and
# modify it as necessary for your own use!!
# Change OWROOT to point your Open Watcom source tree
# Note: '=' sign in path is not allowed (build will fail).
#
# export OWROOT=/home/ow/ow
#
# If space character is used in the path then you must double quote
# this path.
#
# export "OWROOT=/home/ow/o w"
#
export OWROOT=$(realpath "`pwd`")
# Set OWTOOLS entry to identify your toolchain used by build process
# supported values are WATCOM GCC CLANG
export OWTOOLS=GCC
# Build control related variables
##################################
# Set OWDOCBUILD variable to 1 to enable documentation build
export OWDOCBUILD=0
# Set OWNOWGML variable to 1 to not use WGML utility
# It doesn't requires appropriate DOSBOX emulator
# and suppress documentation build
# export OWNOWGML=1
# Set OWGUINOBUILD variable to 1 to suppress tools GUI version build
# If it is used then only tools character mode version is build
# export OWGUINOBUILD=1
# Set OWNOBUILD variable to list of OW projects to suppress their build
# Example export OWNOBUILD=ide browser dlgprs
# export OWNOBUILD=
# Set OWDISTRBUILD variable to 1 to enable build all installers
export OWDISTRBUILD=0
# Documentation related variables
##################################
# Change OWGHOSTSCRIPTPATH variable to the PATH required by GhostScript
# for PDF creation on used host OS (optional)
# export OWGHOSTSCRIPTPATH=:
# Set appropriate variables to point to Windows help compilers which you
# have installed
#
# OWCHMCMD specifies the Free Pascal HTML Help compiler, an alternative
# compiler that can also build Compressed HTML help ".chm" files,
# available natively on non-Windows OSes
#export OWCHMCMD=chmcmd
# build process requires WGML utility which is available only as DOS executable
# it is necessary to have DOSBOX emulator installed
# if DOSBOX emulator is used then OWDOSBOX variable must be set
# Uncoment and set OWDOSBOX variable bellow to point to DOSBOX emulator executable
# export OWDOSBOX=dosbox
# Windows documentation build process requires Microsoft Help Compilers which can
# work only on Windows host therefore by default this build is disabled on non-Windows
# hosts
# On Linux is possible to use WINE (Windows emulation) to run these compilers
# This is experimental stuff to enable build Windows documentation on Linux host
# it requires fully functional WINE installation including Miscrosoft Help Compilers
# To enable this stuff uncomment following line
# export OWUSEWINE=1
##################################
# Subdirectory to be used for building OW build tools
# default is 'binbuild'
# export OWOBJDIR=binbuild
# Invoke the script for the common environment setup
. "$OWROOT/cmnvars.sh"
cd "$OWROOT"