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

Contents of /trunk/solvers/conopt/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


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

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