diff options
| -rw-r--r-- | cscript | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -70,6 +70,14 @@ def build(target, options): target.command(cmd) target.command('./waf build install') +def package(target, version): + if target.platform == 'windows': + d = 'build/libdcp-%s' % version + os.mkdir(d) + shutil.copyfile('build/src/tools/dcpinfo.exe', d) + os.system('zip -9 -r build/libdcp-%s.zip d' % version) + return os.path.abspath('build/libdcp-%s.zip' % version) + def make_doxygen(target): os.makedirs('build/doc') target.command('doxygen') |
