summaryrefslogtreecommitdiff
path: root/libs/python/src/SConscript
blob: a1d3de6baf1f8b9982aec028394be5d69a53cdd3 (plain)
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
# -*- 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 ''}"])
env.AppendUnique(CPPDEFINES = ['BOOST_PYTHON_SOURCE'])

env.BoostLibrary(
    'python',
    ['numeric.cpp',
     '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'])