/[ascend]/trunk/solvers/cmslv/SConscript
ViewVC logotype

Annotation of /trunk/solvers/cmslv/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1510 - (hide annotations) (download)
Wed Jun 27 13:24:21 2007 UTC (15 years, 5 months ago) by jpye
File size: 441 byte(s)
Dependencies of shared libraries on 'libascend'.
1 jpye 1504 Import('env')
2    
3     solver_env = env.Copy()
4    
5     if solver_env.get('WITH_CONOPT'):
6     solver_env.AppendUnique(CPPPATH=[solver_env.get('CONOPT_CPPPATH')])
7    
8     libcmslv = [solver_env.SharedLibrary("cmslv",["slv9.c"]
9     ,LIBS = ['ascend']
10     ,LIBPATH = ['#']
11     )]
12    
13 jpye 1510 env.Depends(libcmslv,env['libascend'])
14    
15 jpye 1504 env['extfns'] += libcmslv
16    
17     if env.get('CAN_INSTALL'):
18     env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),libcmslv)
19    
20     # vim: set syntax=python:
21    

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