pass extra construction variables to Builder#run()
This commit is contained in:
1 parent
75f2418570
commit
837dff9374
5 files changed
+18
-13
No files matched your search
@@ -1,5 +1,5 @@
|
||||
class MySource < Rscons::Builder
|
||||
def run(target, sources, cache, env)
|
||||
def run(target, sources, cache, env, vars = {})
|
||||
File.open(target, 'w') do |fh|
|
||||
fh.puts <<EOF
|
||||
#define THE_VALUE 5678
|
||||
|
||||
Reference in new issue
Block a user