-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathwscript
More file actions
31 lines (25 loc) · 795 Bytes
/
wscript
File metadata and controls
31 lines (25 loc) · 795 Bytes
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
#! /usr/bin/env python
# encoding: utf-8
import os
toolpath = os.environ['WAFDIR'] + '/../waf-extensions'
top = '.'
out = 'build'
def options(ctx):
if len(ctx.stack_path) == 1 and ctx.stack_path[0] is None:
ctx.load('SFFbuildmgr', tooldir=toolpath)
ctx.load('SFFbuild', tooldir=toolpath)
#ctx.load('Syn_support', tooldir=toolpath)
ctx.load('why')
else:
pass
def configure(ctx):
if len(ctx.stack_path) == 1 and ctx.stack_path[0] is None:
ctx.load('SFFbuildmgr', tooldir=toolpath)
ctx.load('SFFbuild', tooldir=toolpath)
ctx.recurse('source_code')
if len(ctx.stack_path) == 1 and ctx.stack_path[0] is None:
ctx.SFFUnits.finalize()
def sim_source(ctx):
ctx.recurse('source_code')
def build(ctx):
pass