- Timestamp:
- 08/13/10 15:03:53 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SConscript
r1819 r1873 8 8 cpps = env.SGlob("*.cpp") 9 9 pycpps = env.SGlob("python_*.cpp") 10 for pf in pycpps: cpps.remove(pf) 10 for pf in pycpps: 11 cpps.remove(pf) 11 12 12 13 # location of libcasav.a … … 18 19 myenv.Prepend( LIBS = ['asap'] ) 19 20 21 shenv = myenv.Clone() 22 pyrapdir = shenv.get("pyrapint", None) 23 if pyrapdir: 24 shenv.PrependUnique(CPPPATH=pyrapdir) 25 pycpps += shenv.Glob('%s/pyrap/*/*.cc' % pyrapdir) 20 26 # Finally create the library for the module 21 if not hasattr( myenv, "LoadableModule"):22 myenv.LoadableModule = myenv.SharedLibrary23 so = myenv.LoadableModule( target = "_asap.so", source = pycpps, SHLIBSUFFIX="" )24 #test = myenv.Program("test", cpps)27 if not hasattr(shenv, "LoadableModule"): 28 shenv.LoadableModule = shenv.SharedLibrary 29 so = shenv.LoadableModule( target = "_asap.so", source = pycpps, SHLIBSUFFIX="" ) 30 #test = shenv.Program("test", cpps) 25 31 Return("so") 26 32
Note:
See TracChangeset
for help on using the changeset viewer.