src/SConscript
branchpyrit
changeset 90 f6a72eb99631
parent 88 f7edb3b90816
child 91 9d66d323c354
equal deleted inserted replaced
89:fcf1487b398b 90:f6a72eb99631
    24 shared_objs = []
    24 shared_objs = []
    25 for src in sources:
    25 for src in sources:
    26 	objs.append( env.Object(src) )
    26 	objs.append( env.Object(src) )
    27 	shared_objs.append( env.SharedObject(src) )
    27 	shared_objs.append( env.SharedObject(src) )
    28 
    28 
    29 pymodule = pyenv.SharedLibrary('raytracer',
    29 pymodule = pyenv.SharedLibrary('pyrit',
    30 	['raytracermodule.cc']+shared_objs,
    30 	['raytracermodule.cc']+shared_objs,
    31 	SHLIBPREFIX = '',
    31 	SHLIBPREFIX = '',
    32 	CCFLAGS = '$CCFLAGS -Wno-write-strings')
    32 	CCFLAGS = '$CCFLAGS -Wno-write-strings')
    33 
    33 
    34 lib = env.StaticLibrary('pyrit', objs)
    34 lib = env.StaticLibrary('pyrit', objs)