diff options
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cscript b/cscript new file mode 100644 index 00000000..5413fdbc --- /dev/null +++ b/cscript @@ -0,0 +1,17 @@ +import os + +def build(env, target): + cmd = './waf configure --prefix=%s' % env.work_dir_cscript() + if target.platform == 'linux': + cmd += ' --static-libdcp --static-openjpeg' + elif target.platform == 'windows': + cmd += ' --target-windows' + elif target.platform == 'osx': + cmd += ' --osx' + env.command(cmd) + env.command('./waf build install') + +def make_doxygen(env): + os.makedirs('build/doc') + env.command('doxygen') + return os.path.abspath('build/doc/html') |
