waf

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

wscript (346B)


      1 #! /usr/bin/env python
      2 # encoding: utf-8
      3 # Thomas Nagy, 2009 (ita)
      4 
      5 """
      6 Use 'waf daemon'
      7 """
      8 
      9 VERSION='0.0.1'
     10 APPNAME='cc_test'
     11 top = '.'
     12 out = 'build'
     13 
     14 def options(opt):
     15 	opt.load('daemon', tooldir='.')
     16 
     17 def configure(conf):
     18 	conf.load('gcc')
     19 	conf.load('daemon', tooldir='.')
     20 
     21 def build(bld):
     22 	bld.program(
     23 		source='main.c',
     24 		target='test')
     25