summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-12-10 12:36:03 +0100
committerRobin Gareus <robin@gareus.org>2015-12-10 12:36:03 +0100
commite5136d03753a70f22650e637188fbe8fb2aa14d0 (patch)
treef94c30ac7755d1d7556e801e8e6d8bff4e90ee4d /wscript
parentd0cdf9660a4d61d0b30ca6caa779e1e337c0c7fd (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--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index a5be9ae215..397ae48c58 100644
--- a/wscript
+++ b/wscript
@@ -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 + '"')