Changeset 1325 for trunk/src/SConscript
- Timestamp:
- 04/12/07 12:07:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SConscript
r1135 r1325 10 10 for pf in pycpps: cpps.remove(pf) 11 11 12 casalibd = os.path.join(myenv['CASAROOT'],myenv['CASAARCH'],'lib')13 14 12 # location of libcasav.a 15 13 myenv.Prepend( LIBPATH = ['#/build'] ) 16 myenv.Install('#build', os.path.join(casalibd, 'libwcs.a'))17 14 myenv['SHLIBPREFIX']="" #gets rid of lib prefix 18 15 myenv.Append(CCFLAGS=["-DWCSLIB_GETWCSTAB"]) 19 16 # need to create library here to fool scons linker 20 casav = myenv.StaticLibrary(target = "casav", source = os.path.join(casalibd, 'version.o'))21 17 libasap = myenv.StaticLibrary(target = "asap", source = cpps) 22 18 myenv.Prepend( LIBS = ['asap'] ) 23 19 24 20 # Finally create the library for the module 25 so = myenv. SharedLibrary( target = "_asap", source = pycpps)21 so = myenv.LoadableModule( target = "_asap.so", source = pycpps, SHLIBSUFFIX="" ) 26 22 #test = myenv.Program("test", cpps) 27 23 Return("so")
Note:
See TracChangeset
for help on using the changeset viewer.