Skip to content

Commit b702456

Browse files
committed
add waf
1 parent 6d2dd17 commit b702456

File tree

2 files changed

+196
-0
lines changed

2 files changed

+196
-0
lines changed

waf

+173
Large diffs are not rendered by default.

wscript

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
def options(opt):
2+
opt.load('compiler_cxx')
3+
4+
def configure(conf):
5+
conf.load('compiler_cxx')
6+
7+
def build(bld):
8+
softcut_sources = [
9+
'softcut/src/FadeCurves.cpp',
10+
'softcut/src/ReadWriteHead.cpp',
11+
'softcut/src/SubHead.cpp',
12+
'softcut/src/Svf.cpp',
13+
'softcut/src/Voice.cpp',
14+
]
15+
16+
bld.stlib(
17+
target = 'softcut',
18+
features = 'cxx cxxstlib',
19+
source = softcut_sources,
20+
includes = ['softcut/include'],
21+
cflags = ['-O3', '-Wall', '-Wextra'],
22+
cxxflags = ['--std=c++14']
23+
)

0 commit comments

Comments
 (0)