diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-04-10 05:33:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-04-10 05:58:49 -0400 |
commit | 716c5b06429f06fbff4ac79d8513e9bf2f5ed722 (patch) | |
tree | 7366a96182773766710d1860b0864abb46503b0e /wscript | |
parent | 782f67d2bc17cb14270b1a2daa20b88b1115dea6 (diff) |
new configure option for trx build, which also generates new menus file
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -430,6 +430,8 @@ def options(opt): autowaf.set_options(opt, debug_by_default=True) opt.add_option('--program-name', type='string', action='store', default='Ardour', dest='program_name', help='The user-visible name of the program being built') + opt.add_option ('--trx', action='store_true', default=False, dest='trx_build', + help='Whether to build for TRX') opt.add_option('--arch', type='string', action='store', dest='arch', help='Architecture-specific compiler flags') opt.add_option('--backtrace', action='store_true', default=True, dest='backtrace', @@ -579,6 +581,9 @@ def configure(conf): conf.env.append_value ('CXXFLAGS', '-DNO_PLUGIN_STATE') conf.define ('NO_PLUGIN_STATE', 1) + if Options.options.trx_build: + conf.define ('TRX_BUILD', 1) + if Options.options.lv2dir: conf.env['LV2DIR'] = Options.options.lv2dir else: |