2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-21 05:02:17 +00:00
Files
python/libs/numpy/example/SConscript
2012-03-18 18:57:14 -04:00

20 lines
478 B
Python

# -*- python -*-
Import("env")
import os
example_env = env.Clone()
lib_path = os.path.abspath(os.path.join("..", "src"))
example_env.Append(LIBPATH=[lib_path])
example_env.Append(LIBS=["boost_numpy"])
example = []
for name in ("ufunc", "dtype", "fromdata", "ndarray", "simple"):
example.extend(example_env.Program(name, "%s.cpp" % name))
for name in ("gaussian",):
example.extend(example_env.SharedLibrary(name, "%s.cpp" % name, SHLIBPREFIX=""))
Return("example")