Parent Directory
|
Revision Log
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 |