wscript 405 B

123456789101112131415161718192021
  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. # Thomas Nagy, 2016 (ita)
  4. VERSION='0.0.1'
  5. APPNAME='msvs_test'
  6. top = '.'
  7. out = 'build'
  8. def options(opt):
  9. opt.load('compiler_cxx msvs')
  10. def configure(conf):
  11. conf.load('compiler_cxx')
  12. def build(bld):
  13. bld.shlib(source='a.cpp', target='mylib', vnum='9.8.7')
  14. bld.program(source='main.cpp', target='app', use='mylib')
  15. bld.stlib(source='b.cpp', target='stlib')