summaryrefslogtreecommitdiff
path: root/src/tools/wscript
blob: 919c98e3f213e1c8df824f895d1e51c54583214e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
def build(bld):
    for t in ['makedcp', 'servomatic', 'servomatictest', 'fixlengths']:
        obj = bld(features = 'cxx cxxprogram')
    	obj.uselib = 'BOOST_THREAD'
	obj.includes = ['..']
        obj.use    = ['libdvdomatic']
        obj.source = '%s.cc' % t
        obj.target = t

    if not bld.env.DISABLE_GUI:
        for t in ['dvdomatic', 'playomatic', 'alignomatic']:
            obj = bld(features = 'cxx cxxprogram')
            obj.uselib = 'BOOST_THREAD GTKMM'
            obj.includes = ['..']
            obj.use    = ['libdvdomatic', 'libdvdomatic-gtk']
            obj.source = '%s.cc' % t
            obj.target = t