diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-25 00:07:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-25 00:07:45 +0100 |
| commit | 948069a23d9c1b2a97d1f3d6a2c856396de205e3 (patch) | |
| tree | 3c008357d440feae598902fdac9a7a4b651f860d /wscript | |
| parent | 833fbe007db587961b99553a43f1af8076c52eb5 (diff) | |
| parent | 1162697d2568bd5fa01b62f03916783eeb5d5b50 (diff) | |
Merge.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,15 +1,17 @@ APPNAME = 'libcxml' -VERSION = '0.04pre' +VERSION = '0.05pre' def options(opt): opt.load('compiler_cxx') opt.add_option('--target-windows', action='store_true', default = False, help = 'set up to do a cross-compile to Windows') + opt.add_option('--static', action='store_true', default = False, help = 'build statically') def configure(conf): conf.load('compiler_cxx') conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-O2']) conf.env.TARGET_WINDOWS = conf.options.target_windows + conf.env.STATIC = conf.options.static if conf.options.target_windows: boost_lib_suffix = '-mt' |
