/[ascend]/trunk/solvers/tron/SConscript
ViewVC logotype

Diff of /trunk/solvers/tron/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1596 by jpye, Wed Jun 27 13:24:21 2007 UTC revision 1597 by jpye, Fri Aug 17 05:26:05 2007 UTC
# Line 5  solver_env = env.Copy() Line 5  solver_env = env.Copy()
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  libtron = solver_env.SharedLibrary("tron",["asc_tron.c"]  lib = solver_env.SharedLibrary("tron",["asc_tron.c"]
9      ,LIBS = ['ascend']      ,LIBS = ['ascend']
10      ,LIBPATH = ['#']      ,LIBPATH = ['#']
11        ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
12        ,SHLIBPREFIX = env['EXTLIB_PREFIX']
13  )  )
14    
15  env.Depends(libtron,env['libascend'])  env.Depends(lib,env['libascend'])
16    
17  env['extfns'] += [libtron]  env['extfns'] += [lib]
18    
19  # vim: set syntax=python:  # vim: set syntax=python:

Legend:
Removed from v.1596  
changed lines
  Added in v.1597

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22