Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fd7c26f
)
Updating TSCons.py to provide capability of passing additional flags to thrift beside...
author
mvaradachari
<dev-null@apache.org>
Mon, 17 Sep 2007 20:40:16 +0000
(20:40 +0000)
committer
mvaradachari
<dev-null@apache.org>
Mon, 17 Sep 2007 20:40:16 +0000
(20:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665266
13f79535
-47bb-0310-9956-
ffa450edef68
lib/py/src/TSCons.py
patch
|
blob
|
history
diff --git
a/lib/py/src/TSCons.py
b/lib/py/src/TSCons.py
index
bb0295f
..
2049033
100644
(file)
--- a/
lib/py/src/TSCons.py
+++ b/
lib/py/src/TSCons.py
@@
-8,8
+8,9
@@
from SCons.Builder import Builder
-def scons_env(env):
- cppbuild = Builder(action = 'thrift --cpp $SOURCE')
+def scons_env(env, add=''):
+ lstr = 'thrift --cpp ' + add + ' $SOURCE'
+ cppbuild = Builder(action = lstr)
env.Append(BUILDERS = {'ThriftCpp' : cppbuild})
def gen_cpp(env, dir, file):