-
Notifications
You must be signed in to change notification settings - Fork 3
/
SConscript
42 lines (36 loc) · 1.91 KB
/
SConscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env python
import os, re, string, subprocess
Import('env')
from stntuple_helper import *
#------------------------------------------------------------------------------
# last two components of the path. Ex: /not/this/but/THIS/AND_THIS
# "AND_THIS" is usually "src"
#------------------------------------------------------------------------------
x = subprocess.call('scripts/build_config',shell=True)
#------------------------------------------------------------------------------
# done
#------------------------------------------------------------------------------
env.Append(BUILDERS = {'StntupleCodegen' : stntuple_codegen})
env.Append(BUILDERS = {'StntupleRootCint' : stntuple_rootcint})
Export('stntuple_helper')
# Import('env')
# # Import('mu2e_helper')
# #------------------------------------------------------------------------------
# # last two components of the path. Ex: /not/this/but/THIS/AND_THIS
# # "AND_THIS" is usually "src"
# #------------------------------------------------------------------------------
# # x = subprocess.call('scripts/build_config',shell=True)
# if (os.environ.get("MU2E_SATELLITE_RELEASE")) :
# env['CPPPATH' ].append('-I'+os.environ['MU2E_SATELLITE_RELEASE']+'/include');
# env['CXXFLAGS'].append('-I'+os.environ['MU2E_SATELLITE_RELEASE']+'/include');
# else :
# env['CPPPATH' ].append('-I'+os.environ['MU2E_BASE_RELEASE']+'/include');
# env['CXXFLAGS'].append('-I'+os.environ['MU2E_BASE_RELEASE']+'/include');
# #------------------------------------------------------------------------------
# # done
# #------------------------------------------------------------------------------
# from gianipez_helper import *
# #from site_init import *
# env.Append(BUILDERS = {'StntupleCodegen' : stntuple_codegen })
# env.Append(BUILDERS = {'StntupleRootCint' : stntuple_rootcint})
# Export('gianipez_helper')