waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

wscript (405B)


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