diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-06-10 00:21:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-06-10 00:21:12 +0100 |
| commit | 78471c43c0c55fb9b25b4beb03dd861439da4f40 (patch) | |
| tree | 4c22a0c1bbf3b844005f96a2a6f24d39cac91b09 /wscript | |
| parent | 25b1934f24206b6dda5ce5a7686930d605ff6ccc (diff) | |
swaroop: try to make -theater and -studio variants.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -64,7 +64,7 @@ def options(opt): opt.add_option('--static-curl', action='store_true', default=False, help='link statically to libcurl') opt.add_option('--workaround-gssapi', action='store_true', default=False, help='link to gssapi_krb5') opt.add_option('--force-cpp11', action='store_true', default=False, help='force use of C++11') - opt.add_option('--variant', help='build variant', choices=['swaroop']) + opt.add_option('--variant', help='build variant', choices=['swaroop-studio', 'swaoop-theater']) def configure(conf): conf.load('compiler_cxx') @@ -117,7 +117,8 @@ def configure(conf): if conf.options.variant is not None: conf.env.VARIANT = conf.options.variant - conf.env.append_value('CXXFLAGS', '-DDCPOMATIC_VARIANT_%s' % conf.options.variant.upper()) + if conf.options.variant.startswith('swaroop-'): + conf.env.append_value('CXXFLAGS', '-DDCPOMATIC_VARIANT_SWAROOP') # # Windows/Linux/OS X specific |
