Parent Directory | Revision Log
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 | Import('env') |
2 | |
3 | # To run the test, type |
4 | # ascend johnpye/qrslv/qrslv.a4c |
5 | |
6 | lib = env.SharedLibrary("qrslv",["qrslv.c"] |
7 | ,LIBS = ['ascend'] |
8 | ,LIBPATH = ['#'] |
9 | ,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] |
10 | ,SHLIBPREFIX = env['EXTLIB_PREFIX'] |
11 | ) |
12 | |
13 | env['extfns'] += [lib] |
14 | |
15 | env.Depends(lib,env['libascend']) |
16 | |
17 | if env.get('CAN_INSTALL'): |
18 | dir = Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")) |
19 | env.InstallShared(dir,lib) |
20 | |
21 | # vim: set syntax=python: |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |