forked from appcelerator-archive/kroll
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSConscript
More file actions
23 lines (19 loc) · 806 Bytes
/
SConscript
File metadata and controls
23 lines (19 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python
# --Common SConscripts--
# Things below here will be shared between Kroll and
# any parent builds (ie Titanium) -- so basically no
# Kroll-specific stuff below here
import os.path as path
Import('build')
Import('debug')
SConscript('SConscript.thirdparty', duplicate=0)
SConscript('boot/SConscript', duplicate=0, build_dir=path.join(build.dir, 'objs', 'boot'))
SConscript('api/SConscript', build_dir=path.join(build.dir,'objs','api'), duplicate=0)
# Now that libkroll is built add it as a default for
# all the following build steps. This means that things
# that should not depend on libkroll should be built
# before here.
build.env.Append(LIBS=['kroll'])
build.env.Append(LIBPATH=[build.runtime_build_dir])
SConscript('host/SConscript')
SConscript('modules/SConscript')