This repository has been archived by the owner on Jan 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathSConstruct
55 lines (49 loc) · 1.5 KB
/
SConstruct
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
AddOption('--with-mamasource',
default='/usr/local',
dest='with_mamasource',
type='string',
nargs=1,
action='store',
metavar='DIR',
help='Location of the uncompiled OpenMAMA Source code')
AddOption('--with-mamainstall',
default='/usr/local',
dest='with_mamainstall',
type='string',
nargs=1,
action='store',
metavar='DIR',
help='Location of OpenMAMA install')
AddOption('--with-libevent',
default='/usr/local',
dest='with_libevent',
type='string',
nargs=1,
action='store',
metavar='DIR',
help='Location of libevent install')
AddOption('--with-zmq',
default='/usr/local',
dest='with_zmq',
type='string',
nargs=1,
action='store',
metavar='DIR',
help='Location of zeromq install')
AddOption('--target-arch',
default=None,
dest='target_arch',
type='string',
nargs=1,
action='store',
metavar='ARCH',
help='Target architecture (x86 or x86_64)')
AddOption('--build-type',
default='dynamic',
dest='build_type',
type='string',
nargs=1,
action='store',
metavar='TYPE',
help='Build type [dynamic|dynamic-debug] (windows only)')
SConscript('src/SConscript', variant_dir='objects/' + GetOption('build_type'), duplicate=0)