-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwscript
More file actions
62 lines (44 loc) · 2.08 KB
/
wscript
File metadata and controls
62 lines (44 loc) · 2.08 KB
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
#! /usr/bin/env python
"""
Main wscript for the BugENgine
"""
VERSION = "0.2.0"
APPNAME = "BugEngine"
top = '.' #pylint: disable=invalid-name
out = 'bld/.waf' #pylint: disable=invalid-name
def options(option_context):
"recursively declare options to the parser"
option_context.bugenginenode = option_context.path
option_context.recurse('mak/build_framework/options/options.py')
option_context.recurse('src/options.py')
def configure(configuration_context):
"entry point for build system configuration"
configuration_context.bugenginenode = configuration_context.path
configuration_context.recurse('mak/build_framework/configure/configure.py')
configuration_context.recurse('src/configure.py')
def multiarch_setup(configuration_context):
"setup a set of toolchains in a multi-arch environment (e.g. Android, MacOS)"
configuration_context.bugenginenode = configuration_context.path
configuration_context.recurse('mak/build_framework/setup/setup.py')
def setup(configuration_context):
"setup a platform environment in the current configuration context"
configuration_context.bugenginenode = configuration_context.path
configuration_context.recurse('mak/build_framework/setup/setup.py', once=False)
configuration_context.recurse('src/setup.py', once=False)
def build(build_context):
"set up build targets and executes the build"
build_context.bugenginenode = build_context.path
build_context.recurse('mak/build_framework/build/build.py')
build_context.recurse('src/build.py')
def deploy(build_context):
"deploy a build to a device"
build_context.bugenginenode = build_context.path
#build_context.recurse('mak/libs/build_framework/deploy/deploy.py')
def run(build_context):
"run a deployed build on a device"
build_context.bugenginenode = build_context.path
build_context.recurse('mak/build_framework/run/run.py')
def debug(build_context):
"start a debugging session on a device"
build_context.bugenginenode = build_context.path
build_context.recurse('mak/build_framework/debug/debug.py')