summaryrefslogtreecommitdiff
path: root/cfgtool/wscript
blob: be349da419bbaa6c1d3250f6e14f6447ac573f1a (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
#!/usr/bin/env python
from waflib.extras import autowaf as autowaf
from waflib import Options, TaskGen
import waflib.Logs as Logs, waflib.Utils as Utils
import shutil
import sys
import time

top = '.'
out = 'build'

def options(opt):
    autowaf.set_options(opt)

def configure(conf):
    conf.load('misc')
    conf.load('compiler_cxx')
    autowaf.configure(conf)

def build(bld):
    obj = bld (features = 'cxx c cxxprogram')
    obj.source    = 'cfgtool.cc'
    obj.target    = 'cfgtool'
    obj.use       = [ 'libpbd', 'libardour', ]