Parent Directory | Revision Log
placeholder for IPOPT solver.
1 | Import('env') |
2 | |
3 | solver_env = env.Copy() |
4 | |
5 | if solver_env.get('WITH_IPOPT'): |
6 | solver_env.AppendUnique(CPPPATH=[solver_env.get('IPOPT_CPPPATH')]) |
7 | |
8 | libipopt = solver_env.SharedLibrary("ipopt",["asc_ipopt.c"] |
9 | ,LIBS = ['ascend','ipopt'] |
10 | ,LIBPATH = ['#'] |
11 | ) |
12 | |
13 | env.Depends(libipopt,env['libascend']) |
14 | |
15 | env['extfns'] += [libipopt] |
16 | |
17 | # vim: set syntax=python: |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |