diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-04 12:38:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-04 12:38:38 +0100 |
| commit | 23b50d379328ee5b5d14cf31f2f64ffeb333edc5 (patch) | |
| tree | 28ab5ea84886f96d70a0f06f81f7d5223b14ab5d /cscript | |
| parent | e409a8b24d78684246e6dbf7092e1e1ac75da8ed (diff) | |
Add cscript.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +import os + +def dependencies(target): + return (('libcxml', '7b4ecc3')) + +def build(target, options): + cmd = './waf configure --prefix=%s' % target.work_dir_cscript() + if target.platform == 'linux': + cmd += ' --static' + if target.debug: + cmd += ' --enable-debug' + + target.command(cmd) + target.command('./waf build install') + +def make_doxygen(target): + os.makedirs('build/doc') + target.command('doxygen') + return os.path.abspath('build/doc/html') |
