-
Notifications
You must be signed in to change notification settings - Fork 8
/
jamroot.jam
65 lines (48 loc) · 1.31 KB
/
jamroot.jam
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
# Main Jamfile for building APL
# APL doesn't support gcc cygwin, though ASL does. Only supported toolsets for APL
# are msvc and darwin
path-constant TOP : . ;
import os ;
import testing ;
switch [ os.name ]
{
case MACOSX :
{
DARWIN_APL_REQUIREMENTS =
# <macosx-version-min>10.5
# <macosx-version>10.5
# <address-model>32
# <architecture>x86
<cxxflags>"-arch i386"
;
}
}
project
: requirements
$(DARWIN_APL_REQUIREMENTS)
: default-build
<link>static
<threading>multi
<preserve-test-targets>on
: build-dir
$(TOP)/../built_artifacts
;
# tests
use-project /widgets : adobe/future/widgets/ ;
use-project /adobe : ../adobe_source_libraries/ ;
## Build ASL first. We use aliases with dummy names instead of
# build-project since build-project cannot refer to targets, but
# aliases have side-effect of building.
alias build-asl_dev : /adobe//asl_dev ;
alias build-asl : /adobe//asl ;
# The build-asl target does not get built by adobe_source_libraries,
# it's explicit. We force it to be built here to be sure asl non-dev
# doesn't go stale
#build APL:
alias build-wigets : /widgets ;
build-project test/begin ;
build-project test/layout_tidy ;
build-project test/property_model_tidy ;
build-project test/rset ;
build-project test/selection_ops ;
build-project test/xstr_test ;