]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/gil/fabscript
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / gil / fabscript
1 # -*- python -*-
2 #
3 # Copyright (c) 2017 Stefan Seefeld
4 # All rights reserved.
5 #
6 # Distributed under the Boost Software License, Version 1.0.
7 # (See accompanying file LICENSE_1_0.txt or copy at
8 # http://www.boost.org/LICENSE_1_0.txt)
9
10 from faber import platform
11 from faber.feature import set
12 from faber.tools.compiler import include, define, linkpath
13 from os.path import join
14
15 features += include('include')
16 features += define('BOOST_ALL_NO_LIB') # disable auto-linking
17 boost_prefix = options.get_with('boost-prefix')
18 boost_include = options.get_with('boost-include')
19 boost_lib = options.get_with('boost-lib')
20 boost_suffix = options.get_with('boost-suffix')
21 if boost_prefix:
22 features += set(include(join(boost_prefix, 'include')), linkpath(join(boost_prefix, 'lib')))
23 else:
24 if boost_include:
25 features += include(boost_include)
26 if boost_lib:
27 features += linkpath(boost_lib)
28
29 test = module('test', features=features)
30 io_test = module('io_test', 'io/test', features=features)
31 toolbox_test = module('toolbox_test', 'toolbox/test', features=features)