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

Diff of /trunk/solvers/conopt/SConscript

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

revision 1596 by jpye, Thu Jun 28 01:36:22 2007 UTC revision 1597 by jpye, Fri Aug 17 05:26:05 2007 UTC
# Line 9  if env.get('WITH_CONOPT'): Line 9  if env.get('WITH_CONOPT'):
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    

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

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