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

Contents of /trunk/solvers/conopt/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1504 - (show annotations) (download)
Sat Jun 23 14:12:34 2007 UTC (17 years, 5 months ago) by jpye
File size: 475 byte(s)
Moving solvers to their own directory
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['extfns'] += libconopt
17
18 if env.get('CAN_INSTALL'):
19 env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),libconopt)
20
21 # vim: set syntax=python:
22

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