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

Contents of /trunk/solvers/ipopt/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1547 - (show annotations) (download)
Mon Jul 23 06:25:49 2007 UTC (15 years, 2 months ago) by jpye
File size: 409 byte(s)
Fixed build of asc_ipopt.c. Small comment added in relman. IPOPT_LIB replaced by IPOPT_LIBS due to multiple linking requirement of that library.
1 Import('env')
2
3 if env.get('WITH_IPOPT'):
4 solver_env = env.Copy()
5
6 solver_env.AppendUnique(CPPPATH=[solver_env.get('IPOPT_CPPPATH')])
7
8 solver_env.Append(
9 CPPDEFINES=[
10 'ASC_WITH_IPOPT'
11 ]
12 )
13
14 libipopt = solver_env.SharedLibrary("ipopt",["asc_ipopt.c"]
15 ,LIBS = ['ascend','ipopt']
16 ,LIBPATH = ['#']
17 )
18
19 env.Depends(libipopt,env['libascend'])
20
21 env['extfns'] += [libipopt]
22
23 # vim: set syntax=python:

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