wscript 327 B

12345678910111213141516
  1. top = '.'
  2. out = 'build'
  3. def options(opt):
  4. opt.load('compiler_cxx boost')
  5. def configure(conf):
  6. conf.load('compiler_cxx boost')
  7. if conf.options.boost_mt:
  8. conf.check_boost('system thread log log_setup')
  9. else:
  10. conf.check_boost('log log_setup')
  11. def build(bld):
  12. bld.program(source='main.cpp', target='app', use='BOOST')