wscript: new configure option, --enable-gladish

This commit is contained in:
Nedko Arnaudov 2023-01-28 02:55:37 +02:00
parent 13fa61455c
commit 655a9dc2c7
1 changed files with 2 additions and 2 deletions

View File

@ -46,6 +46,7 @@ def options(opt):
opt.load('boost')
opt.load('python')
opt.add_option('--enable-pkg-config-dbus-service-dir', action='store_true', default=False, help='force D-Bus service install dir to be one returned by pkg-config')
opt.add_option('--enable-gladish', action='store_true', default=False, help='Build gladish')
opt.add_option('--enable-liblash', action='store_true', default=False, help='Build LASH compatibility library')
opt.add_option('--enable-pylash', action='store_true', default=False, help='Build python bindings for LASH compatibility library')
opt.add_option('--debug', action='store_true', default=False, dest='debug', help="Build debuggable binaries")
@ -215,8 +216,7 @@ def configure(conf):
errmsg="not found, see http://boost.org/")
build_gui = not not conf.env['BOOST_VERSION']
conf.env['BUILD_GLADISH'] = build_gui
conf.env['BUILD_GLADISH'] = Options.options.enable_gladish
conf.env['BUILD_LIBLASH'] = Options.options.enable_liblash
conf.env['BUILD_PYLASH'] = Options.options.enable_pylash
conf.env['BUILD_SIGINFO'] = Options.options.siginfo