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

Annotation of /trunk/base/generic/solver/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 507 - (hide annotations) (download)
Wed Apr 19 02:44:25 2006 UTC (14 years, 6 months ago) by johnpye
File size: 635 byte(s)
Fixing for ubuntu GCC 4
1 johnpye 385 Import('env')
2    
3 johnpye 463 csrcs = Split("""
4 johnpye 385
5     analyze.c bnd.c bndman.c calc.c cond_config.c
6     conditional.c conopt.c discrete.c incidence.c linsol.c
7     linsolqr.c linutils.c logrel.c logrelman.c model_reorder.c
8     mps.c mtx_basic.c mtx_linal.c mtx_perms.c mtx_query.c
9     mtx_reorder.c mtx_use_only.c rel.c relman.c
10     slv.c slv0.c slv1.c slv2.c slv3.c slv6.c slv7.c
11     slv8.c slv9.c slv9a.c slvDOF.c slv_common.c
12     slv_interface.c slv_stdcalls.c system.c var.c
13    
14 johnpye 392 """)
15 johnpye 385
16 johnpye 507 solver_env = env.Copy()
17    
18 johnpye 392 defs = []
19     for i in env['WITH_SOLVERS']:
20 johnpye 507 solver_env.Append(CPPDEFINES=["STATIC_"+i])
21 johnpye 392
22 johnpye 463 objs = []
23     for c in csrcs:
24 johnpye 507 objs += solver_env.SharedObject(c)
25 johnpye 463
26     Return('objs')

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