Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F11221919
SConscript
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
621 B
Subscribers
None
SConscript
View Options
import glob, os
Import( 'env' )
this_name = os.path.split( os.getcwd() )[1]
filenames = glob.glob( os.path.join( env.GetLaunchDir(), this_name, '*', 'src', '*.cc' ) )
if filenames != []:
filenames = [ apply( os.path.join, tuple( x.split( os.path.sep )[-3:] ) ) for x in filenames ]
object_list = env.SharedObject( filenames )
if env['precompile']:
env.Depends( object_list, env.pcheader )
env.object_collector += object_list
lib = env.SharedLibrary( this_name, object_list )
env.Default( lib )
else:
print 'Warning: No source files found in subdirectory',this_name
Export( 'env' )
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 14, 11:07 AM (17 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5041145
Default Alt Text
SConscript (621 B)
Attached To
rRAVESVN ravesvn
Event Timeline
Log In to Comment