blob: fadeb0aebdcf19d142c834264eece2087108d40a (
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
|
#!/usr/bin/env python
from waflib.extras import autowaf as autowaf
from waflib import Options
import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt):
autowaf.set_options(opt)
def configure(conf):
conf.load('compiler_cxx')
autowaf.configure(conf)
def build(bld):
bld.shlib (
source = [ 'src/time.cc', 'src/bbt_time.cc' ],
name = 'libtimecode',
target = 'timecode',
includes = ['.'],
export_includes = ['.'],
defines = [ 'LIBTIMECODE_DLL_EXPORTS' ],
install_path = bld.env['LIBDIR']
)
def shutdown():
autowaf.shutdown()
|