projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef59fbf
)
define PROGRAM_NAME in waf conf/bld objects, to allow program-dependent stuff at...
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 6 May 2015 11:30:23 +0000
(07:30 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:16:43 +0000
(14:16 -0400)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index 70678c321a9a1c32e25121703c27902a64746cb4..fe80117e2eed04884296f52ece31744f6b50126a 100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-557,7
+557,8
@@
int main() { return 0; }''',
compiler_flags.append ('-DPROGRAM_NAME="' + Options.options.program_name + '"')
compiler_flags.append ('-DPROGRAM_VERSION="' + PROGRAM_VERSION + '"')
-
+ conf.env['PROGRAM_NAME'] = Options.options.program_name
+
if opt.debug:
conf.env.append_value('CFLAGS', debug_flags)
conf.env.append_value('CXXFLAGS', debug_flags)