waf

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

wscript (428B)


      1 #! /usr/bin/env python
      2 # encoding: utf-8
      3 # Thomas Nagy, 2005-2010 (ita)
      4 
      5 # the following two variables are used by the target "waf dist"
      6 VERSION = '0.0.1'
      7 APPNAME = 'ocaml_test'
      8 
      9 # these variables are mandatory,
     10 top = '.'
     11 out = 'build'
     12 
     13 def configure(conf):
     14 	conf.load('ocaml')
     15 
     16 def build(bld):
     17 
     18 	bld(
     19 		features = 'ocaml',
     20 		kind     = 'all',
     21 		includes = '.',
     22 		target   = 'camlprog',
     23 		source   = bld.path.ant_glob('*.ml'))
     24