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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 392 - (hide annotations) (download)
Thu Mar 30 12:36:15 2006 UTC (14 years, 6 months ago) by johnpye
File size: 562 byte(s)
Some fixes to the SCons build:
- adding flags to enable QRSLV and CMSLV by default.
- adding commands to build SWIG library correctly for Python interface.
1 johnpye 385 Import('env')
2    
3 johnpye 392 srcs = 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 392 defs = []
17     for i in env['WITH_SOLVERS']:
18     defs.append("STATIC_"+i)
19    
20     env.Library('ascsolver',srcs
21     , CPPDEFINES=defs
22     )
23    

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