13
0
livetrax/libs/timecode/wscript

31 lines
667 B
Python

#!/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 (export_includes = ['.'],
includes = ['.'],
name = 'timecode_includes'
)
bld.stlib (cxxflags = [ '-fPIC' ],
source = [ 'src/time.cc', 'src/bbt_time.cc' ],
target = 'timecode',
use = 'timecode_includes'
)
def shutdown():
autowaf.shutdown()