FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python/src/SConscript at develop · vertex9/python · GitHub
vertex9
/
python
Public
forked from
boostorg/python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python
/
src
/
SConscript
Copy path
More file actions
More file actions
Latest commit
History
History
History
61 lines (56 loc) · 1.64 KB
Breadcrumbs
python
/
src
/
SConscript
Copy path
File metadata and controls
61 lines (56 loc) · 1.64 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# -*- python -*-
#
# Copyright (c) 2016 Stefan Seefeld
# All rights reserved.
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
Import
(
'env'
)
env
.
AppendUnique
(
CPPDEFINES
=
[
"${LINK_DYNAMIC and 'BOOST_PYTHON_DYN_LINK=1' or ''}"
])
env1
=
env
.
Clone
()
env1
.
AppendUnique
(
CPPDEFINES
=
[
'BOOST_PYTHON_SOURCE'
])
env1
.
BoostLibrary
(
'python'
,
[
'list.cpp'
,
'long.cpp'
,
'dict.cpp'
,
'tuple.cpp'
,
'str.cpp'
,
'slice.cpp'
,
'converter/from_python.cpp'
,
'converter/registry.cpp'
,
'converter/type_id.cpp'
,
'object/enum.cpp'
,
'object/class.cpp'
,
'object/function.cpp'
,
'object/inheritance.cpp'
,
'object/life_support.cpp'
,
'object/pickle_support.cpp'
,
'errors.cpp'
,
'module.cpp'
,
'converter/builtin_converters.cpp'
,
'converter/arg_to_python_base.cpp'
,
'object/iterator.cpp'
,
'object/stl_iterator.cpp'
,
'object_protocol.cpp'
,
'object_operators.cpp'
,
'wrapper.cpp'
,
'import.cpp'
,
'exec.cpp'
,
'object/function_doc_signature.cpp'
])
if
env
[
'NUMPY'
]:
env2
=
env
.
Clone
()
env2
.
Append
(
CPPPATH
=
env
[
'NUMPY_CPPPATH'
])
build_dir
=
env
.
Dir
(
'$BOOST_CURRENT_VARIANT_DIR/src'
)
env2
.
AppendUnique
(
CPPDEFINES
=
[
'BOOST_NUMPY_SOURCE'
],
LIBPATH
=
[
build_dir
],
LIBS
=
'boost_python'
+
env
[
"BOOST_SUFFIX"
])
env2
.
BoostLibrary
(
'numpy'
,
[
'numpy/dtype.cpp'
,
'numpy/matrix.cpp'
,
'numpy/ndarray.cpp'
,
'numpy/numpy.cpp'
,
'numpy/scalars.cpp'
,
'numpy/ufunc.cpp'
])
Back
|
FazBrowse Home
|
New Git URL