--- branches/ROBW_XPLATFORM/escript/src/SConscript 2006/03/23 13:06:01 638 +++ branches/ROBW_XPLATFORM/escript/src/SConscript 2006/03/23 13:06:40 639 @@ -21,8 +21,12 @@ local_env.Install(include_path, headers ) local_env.Install(libinstall, lib) +# Call the unit tests SConscript +# export the lib target since tests will depend on it +# the lib target is a list of file nodes (why? win32 produces more than one output file: .lib, .dll, .pdb) +# FIXME: This list handling produces the desired result but can this be done directly with scons File nodes? +dep_lib = [libinstall+'/'+str(x) for x in lib] +Export('dep_lib') -# FIXME: OLD STUFF - -#Depends(escript_lib, esysUtils_lib) +local_env.SConscript(dirs = ['#/escript/test'], build_dir='#/build/$PLATFORM/escript/test', duplicate=0)