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

Contents of /trunk/solvers/conopt/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


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

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