/[ascend]/trunk/base/generic/test/SConscript
ViewVC logotype

Diff of /trunk/base/generic/test/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1001 by johnpye, Sun Dec 24 01:33:59 2006 UTC revision 1002 by johnpye, Sat Dec 30 14:27:47 2006 UTC
# Line 22  if env.has_key('CUNIT_LIBPATH'): Line 22  if env.has_key('CUNIT_LIBPATH'):
22      #print "CUNIT_LIBPATH ---> ",libpath      #print "CUNIT_LIBPATH ---> ",libpath
23    
24  objs = []  objs = []
25  for src in srcs:  for src in srcs+testsrcs:
26      objs += env.SharedObject(src      objs += env.SharedObject(src
27          , CPPPATH = cpppath          , CPPPATH = cpppath
28      )      )
# Line 32  objs += env.SharedObject('test_ascend_ba Line 32  objs += env.SharedObject('test_ascend_ba
32    
33  env.SharedLibrary('asctestsuite',objs  env.SharedLibrary('asctestsuite',objs
34      , CPPPATH = cpppath      , CPPPATH = cpppath
35      , LIBS = ['ascend','asctest','m','cunit','dl']      , LIBS = ['ascend','m','cunit','dl']
36      , LIBPATH = libpath      , LIBPATH = libpath
37      , CPPDEFINES = env.get('CPPDEFINES') + ['-DASC_SHARED']      , CPPDEFINES = env.get('CPPDEFINES') + ['-DASC_SHARED']
38  )  )
39    
40  env.Program('test',['test.c']  env.Program('test',['test.c']
41      , CPPPATH = cpppath      , CPPPATH = cpppath
42      , LIBS = ['ascend','asctest','cunit','asctestsuite']      , LIBS = ['ascend','cunit','asctestsuite']
43      , LIBPATH = libpath      , LIBPATH = libpath
44  )  )

Legend:
Removed from v.1001  
changed lines
  Added in v.1002

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22