2011-01-31 09:45:56 -05:00
|
|
|
#!/usr/bin/env python
|
2011-09-29 15:17:54 -04:00
|
|
|
from waflib.extras import autowaf as autowaf
|
2011-09-29 15:58:05 -04:00
|
|
|
from waflib import Options
|
2011-01-31 09:45:56 -05:00
|
|
|
import os
|
|
|
|
|
|
|
|
# Mandatory variables
|
2011-09-29 15:17:54 -04:00
|
|
|
top = '.'
|
|
|
|
out = 'build'
|
2011-01-31 09:45:56 -05:00
|
|
|
|
2011-09-29 15:17:54 -04:00
|
|
|
def options(opt):
|
2011-01-31 09:45:56 -05:00
|
|
|
autowaf.set_options(opt)
|
|
|
|
|
|
|
|
def configure(conf):
|
2011-09-29 15:58:05 -04:00
|
|
|
conf.load('compiler_cxx')
|
|
|
|
autowaf.configure(conf)
|
2011-01-31 09:45:56 -05:00
|
|
|
|
|
|
|
def build(bld):
|
2011-09-29 15:17:54 -04:00
|
|
|
obj = bld(features = 'cxx cxxprogram')
|
2011-01-31 09:45:56 -05:00
|
|
|
obj.includes = [ '.' ]
|
|
|
|
obj.source = [ 'main.cpp', 'systemtest.cpp' ]
|
|
|
|
obj.target = 'sanityCheck'
|
|
|
|
obj.name = 'sanityCheck'
|
2014-04-28 21:18:02 -04:00
|
|
|
obj.install_path = bld.env['LIBDIR']
|