5 |
if solver_env.get('WITH_TRON'): |
if solver_env.get('WITH_TRON'): |
6 |
solver_env.AppendUnique(CPPPATH=[solver_env.get('TRON_CPPPATH')]) |
solver_env.AppendUnique(CPPPATH=[solver_env.get('TRON_CPPPATH')]) |
7 |
|
|
8 |
env['extfns'] += [solver_env.SharedLibrary("tron",["asc_tron.c"] |
libtron = solver_env.SharedLibrary("tron",["asc_tron.c"] |
9 |
,LIBS = ['ascend'] |
,LIBS = ['ascend'] |
10 |
,LIBPATH = ['#'] |
,LIBPATH = ['#'] |
11 |
)] |
) |
12 |
|
|
13 |
|
env.Depends(libtron,env['libascend']) |
14 |
|
|
15 |
|
env['extfns'] += [libtron] |
16 |
|
|
17 |
# vim: set syntax=python: |
# vim: set syntax=python: |