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 | extfn_env = env.Copy() |
3 | |
4 | srcs = Split(""" |
5 | extfntest.c |
6 | """) |
7 | |
8 | extfn_env.Append(LIBPATH=['#']) |
9 | extfn_env.Append(LIBS=['ascend']) |
10 | |
11 | lib = extfn_env.SharedLibrary("extfntest",srcs |
12 | ,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] |
13 | ,SHLIBPREFIX = env['EXTLIB_PREFIX'] |
14 | ) |
15 | |
16 | # To run the test |
17 | # type |
18 | # |
19 | # ASCENDLIBRARY=../../../models LD_LIBRARY_PATH=../../.. PYTHONPATH=../../../pygtk python extfntest.py |
20 | |
21 | # Return the targs |
22 | env['extfns'] += [lib] |
23 | |
24 | # vim: set syntax=python: |
25 |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |