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

Diff of /trunk/base/generic/solver/SConscript

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

revision 463 by johnpye, Sun Apr 16 10:18:16 2006 UTC revision 507 by johnpye, Wed Apr 19 02:44:25 2006 UTC
# Line 13  csrcs = Split(""" Line 13  csrcs = Split("""
13    
14  """)  """)
15    
16    solver_env = env.Copy()
17    
18  defs = []  defs = []
19  for i in env['WITH_SOLVERS']:  for i in env['WITH_SOLVERS']:
20      defs.append("STATIC_"+i)      solver_env.Append(CPPDEFINES=["STATIC_"+i])
21    
22  objs = []  objs = []
23  for c in csrcs:  for c in csrcs:
24      objs += env.SharedObject(c      objs += solver_env.SharedObject(c)
         , CPPDEFINES=defs  
     )  
25            
26  Return('objs')  Return('objs')

Legend:
Removed from v.463  
changed lines
  Added in v.507

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