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