diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-10 12:36:03 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-10 12:36:03 +0100 |
commit | e5136d03753a70f22650e637188fbe8fb2aa14d0 (patch) | |
tree | f94c30ac7755d1d7556e801e8e6d8bff4e90ee4d /wscript | |
parent | d0cdf9660a4d61d0b30ca6caa779e1e337c0c7fd (diff) |
add a mixbus compile define
allow to minimize branch changes downstream and work closer with upstream.
(so far upstream #ifdef MIXBUS were hardcoded to #if 1 downstream)
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -592,6 +592,10 @@ int main() { return 0; }''', if opt.nls: compiler_flags.append('-DENABLE_NLS') + # use sparingly, prefer runtime profile + if Options.options.program_name.lower() == "mixbus": + compiler_flags.append ('-DMIXBUS') + compiler_flags.append ('-DPROGRAM_NAME="' + Options.options.program_name + '"') compiler_flags.append ('-DPROGRAM_VERSION="' + PROGRAM_VERSION + '"') |