Added csharp builder to scons
This commit is contained in:
parent
b808658613
commit
d78cde3830
7 changed files with 746 additions and 2 deletions
|
|
@ -7,9 +7,12 @@ import sys
|
|||
vars = Variables(None, ARGUMENTS)
|
||||
vars.Add(PathVariable('DESTDIR', "Root directory to install in (useful for packaging scripts)", None, PathVariable.PathIsDirCreate))
|
||||
vars.Add(PathVariable('prefix', "Where to install in the FHS", "/usr/local", PathVariable.PathAccept))
|
||||
vars.Add(ListVariable('bindings', 'Language bindings to build', 'none', ['python', 'perl', 'php']))
|
||||
vars.Add(ListVariable('bindings', 'Language bindings to build', 'none', ['dotnet', 'perl', 'php', 'python']))
|
||||
|
||||
env = Environment(ENV = {'PATH' : os.environ['PATH']}, variables = vars, tools=['default', 'scanreplace'], toolpath=['tools'])
|
||||
env = Environment(ENV = {'PATH' : os.environ['PATH']},
|
||||
variables = vars,
|
||||
tools=['default', 'scanreplace', 'csharp/mono'],
|
||||
toolpath=['tools'])
|
||||
|
||||
if not 'bindings' in env:
|
||||
env['bindings'] = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue