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

Annotation of /trunk/solvers/lrslv/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1597 - (hide annotations) (download)
Fri Aug 17 05:26:05 2007 UTC (13 years, 3 months ago) by jpye
File size: 361 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 jpye 1597 lib = env.SharedLibrary("lrslv",["slv9a.c"]
4 jpye 1504 ,LIBS = ['ascend']
5     ,LIBPATH = ['#']
6 jpye 1597 ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
7     ,SHLIBPREFIX = env['EXTLIB_PREFIX']
8     )
9 jpye 1504
10 jpye 1597 env['extfns'] += [lib]
11 jpye 1504
12 jpye 1597 env.Depends(lib,env['libascend'])
13 jpye 1510
14    
15 jpye 1504 if env.get('CAN_INSTALL'):
16 jpye 1597 env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),lib)
17 jpye 1504
18     # vim: set syntax=python:
19    

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