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 | dr_env = env.Copy() |
3 | |
4 | srcs = Split(""" |
5 | datareader.c |
6 | dr.c |
7 | tmy.c |
8 | texttable.c |
9 | sun.c |
10 | """) |
11 | |
12 | dr_env.Append(LIBPATH=['#']) |
13 | dr_env.Append(LIBS=['ascend']) |
14 | |
15 | lib = dr_env.SharedLibrary("datareader",srcs |
16 | ,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] |
17 | ,SHLIBPREFIX = env['EXTLIB_PREFIX'] |
18 | ) |
19 | |
20 | env['extfns'] += [lib] |
21 | |
22 | # vim: set syntax=python: |
23 |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |