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

Annotation of /trunk/solvers/cmslv/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1597 - (hide annotations) (download)
Fri Aug 17 05:26:05 2007 UTC (17 years, 2 months ago) by jpye
File size: 495 byte(s)
New external library naming scheme on Windows: 'name_ascend.dll' instead of 'name.dll'.
This applies to solvers as well as external methods, extpy, import handlers, etc.
1 jpye 1504 Import('env')
2    
3     solver_env = env.Copy()
4    
5     if solver_env.get('WITH_CONOPT'):
6     solver_env.AppendUnique(CPPPATH=[solver_env.get('CONOPT_CPPPATH')])
7    
8 jpye 1597 lib = solver_env.SharedLibrary("cmslv",["slv9.c"]
9 jpye 1504 ,LIBS = ['ascend']
10     ,LIBPATH = ['#']
11 jpye 1597 ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
12     ,SHLIBPREFIX = env['EXTLIB_PREFIX']
13     )
14 jpye 1504
15 jpye 1597 env.Depends(lib,env['libascend'])
16 jpye 1510
17 jpye 1597 env['extfns'] += [lib]
18 jpye 1504
19     if env.get('CAN_INSTALL'):
20 jpye 1597 env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),lib)
21 jpye 1504
22     # vim: set syntax=python:
23    

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