From bd1ba4a37fcd3f74935099127c0ed6c234ab7e5a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Aug 2012 18:37:57 +0000 Subject: Clean up wscript files and use a simpler method of chopping 'lib' prefix. --- ext.wscript | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'ext.wscript') diff --git a/ext.wscript b/ext.wscript index e1d71c7..197f82e 100644 --- a/ext.wscript +++ b/ext.wscript @@ -39,11 +39,11 @@ def build(bld): # Copy headers to URI-style include paths in build directory for i in bld.path.ant_glob('*.h'): - obj = bld(rule = link, - name = 'link', - cwd = 'build/lv2/%s' % path, - source = '%s' % i, - target = 'lv2/%s/%s' % (path, i)) + bld(rule = link, + name = 'link', + cwd = 'build/lv2/%s' % path, + source = '%s' % i, + target = 'lv2/%s/%s' % (path, i)) if bld.env['BUILD_TESTS'] and bld.path.find_node('%s-test.c' % name): test_lib = [] @@ -53,12 +53,12 @@ def build(bld): test_cflags += ['-fprofile-arcs', '-ftest-coverage'] # Unit test program - obj = bld(features = 'c cprogram', - source = '%s-test.c' % name, - lib = test_lib, - target = '%s-test' % name, - install_path = '', - cflags = test_cflags) + bld(features = 'c cprogram', + source = '%s-test.c' % name, + lib = test_lib, + target = '%s-test' % name, + install_path = '', + cflags = test_cflags) # Install bundle bld.install_files(bundle_dir, -- cgit v1.2.1 v2.git/diff/waf?h=v1.18.0&id=3cd84b539098a94154039d29d72499919785620e'>diffstats
path: root/waf
blob: 3f4ece913a1582022edc2030949c5a07efd26b0b (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168