9 |
|
|
10 |
solver_env.AppendUnique(CPPPATH=[solver_env.get('CONOPT_CPPPATH')]) |
solver_env.AppendUnique(CPPPATH=[solver_env.get('CONOPT_CPPPATH')]) |
11 |
|
|
12 |
libconopt = [solver_env.SharedLibrary("conopt",["asc_conopt.c"] |
lib = solver_env.SharedLibrary("conopt",["asc_conopt.c"] |
13 |
,LIBS = ['ascend'] |
,LIBS = ['ascend'] |
14 |
,LIBPATH = ['#'] |
,LIBPATH = ['#'] |
15 |
)] |
,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] |
16 |
|
,SHLIBPREFIX = env['EXTLIB_PREFIX'] |
17 |
|
) |
18 |
|
|
19 |
env.Depends(libconopt,env['libascend']) |
env.Depends(lib,env['libascend']) |
20 |
|
|
21 |
env['extfns'] += libconopt |
env['extfns'] += [lib] |
22 |
|
|
23 |
if env.get('CAN_INSTALL'): |
if env.get('CAN_INSTALL'): |
24 |
env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),libconopt) |
env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),lib) |
25 |
|
|
26 |
# vim: set syntax=python: |
# vim: set syntax=python: |
27 |
|
|