-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwscript
More file actions
executable file
·42 lines (29 loc) · 1.39 KB
/
wscript
File metadata and controls
executable file
·42 lines (29 loc) · 1.39 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
#!/usr/bin/python
top = '.'
out = 'build_waf'
def options(opt):
opt.load('compiler_cxx qt4')
def configure(cnf):
cnf.load('compiler_cxx qt4')
cnf.check(features='cxx', lib=['sndfile','samplerate', 'xerces-c'], cxxflags=['-g', '-Wall'], uselib_store='He')
cnf.check_cfg (package='sndfile, samplerate, xerces-c', uselib_store='He', args='--cflags --libs')
def build(bld):
bld(features='cxx cxxshlib',
source = 'src/lv2_he.cpp src/he.cpp src/xml_parser.cpp src/hydro_dk_scan.cpp src/sample.cpp',
target = 'helium',
use = ['He']
)
bld(features='cxx cxxshlib qt4',
source = 'src/lv2_he_gui.cpp src/hegui.cpp src/xml_parser.cpp src/hydro_dk_scan.cpp src/sample.cpp',
target = 'helium_gui',
includes = "qt4/Qt/ qt4/QtGui/ src/",
uselib = "QTCORE QTGUI",
lib = ['qwt'],
use = ['He']
)
#Copy engine plugin
bld(rule='cp ${SRC} ${TGT}', source='libhelium.so', target='plugin/helium.lv2/helium.so')
bld(rule='cp ${SRC} ${TGT}', source='libhelium_gui.so', target='plugin/helium.lv2/helium_gui.so')
#Coopy ttl file
bld(rule='cp ${SRC} ${TGT}', source='ttl/manifest.ttl', target='plugin/helium.lv2/')
bld(rule='cp ${SRC} ${TGT}', source='ttl/helium.ttl', target='plugin/helium.lv2/')