forked from steinwurf/kodo-basic-simulations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wscript
62 lines (39 loc) · 1.29 KB
/
wscript
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
# encoding: utf-8
APPNAME = 'kodo_basic_simulations'
VERSION = '1.0.0'
import waflib.extras.wurf_options
def options(opt):
opt.load('wurf_common_tools')
def resolve(ctx):
import waflib.extras.wurf_dependency_resolve as resolve
ctx.load('wurf_common_tools')
ctx.add_dependency(resolve.ResolveVersion(
name='waf-tools',
git_repository='github.com/steinwurf/waf-tools.git',
major=3))
ctx.add_dependency(resolve.ResolveVersion(
name='boost',
git_repository='github.com/steinwurf/boost.git',
major=2))
ctx.add_dependency(resolve.ResolveVersion(
name='kodo',
git_repository='github.com/steinwurf/kodo.git',
major=32))
ctx.add_dependency(resolve.ResolveVersion(
name='tables',
git_repository='github.com/steinwurf/tables.git',
major=6))
# Internal dependencies
if ctx.is_toplevel():
ctx.add_dependency(resolve.ResolveVersion(
name='gauge',
git_repository='github.com/steinwurf/gauge.git',
major=10))
def configure(conf):
conf.load("wurf_common_tools")
def build(bld):
bld.load("wurf_common_tools")
if bld.is_toplevel():
bld.recurse('relay_simulations')
bld.recurse('butterfly')