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

Diff of /trunk/solvers/cmslv/SConscript

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

revision 1750 by jpye, Sun Feb 10 05:31:47 2008 UTC revision 1751 by jpye, Mon Feb 11 05:27:18 2008 UTC
# Line 2  Import('env') Line 2  Import('env')
2    
3  solver_env = env.Copy()  solver_env = env.Copy()
4    
5  if solver_env.get('WITH_CONOPT'):  solver_env.AppendUnique(
6      solver_env.AppendUnique(      LIBS = ['ascend']
7          CPPPATH=[solver_env.get('CONOPT_CPPPATH')]      , LIBPATH = ['#']
8          ,CPPDEFINES=['ASC_WITH_CONOPT']  )
     )  
9    
10    if solver_env.get('WITH_CONOPT'):
11        if solver_env.get('CONOPT_LINKED'):
12            print "LINKED CONOPT"
13            solver_env.AppendUnique(
14                CPPPATH=env['CONOPT_CPPPATH']
15                , LIBS=env['CONOPT_LIB']
16                , LIBPATH=env['CONOPT_LIBPATH']
17            )
18        
19    print "LIBS FOR CMSLV =",solver_env['LIBS']
20    
21  lib = solver_env.SharedLibrary("cmslv",["slv9.c"]  lib = solver_env.SharedLibrary("cmslv",["slv9.c"]
     ,LIBS = ['ascend']  
     ,LIBPATH = ['#']  
22      ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']      ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
23      ,SHLIBPREFIX = env['EXTLIB_PREFIX']      ,SHLIBPREFIX = env['EXTLIB_PREFIX']
24  )  )

Legend:
Removed from v.1750  
changed lines
  Added in v.1751

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