diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
commit | 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch) | |
tree | e5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/boost/libs/gil/fabscript | |
parent | Initial commit. (diff) | |
download | ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.tar.xz ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.zip |
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/libs/gil/fabscript')
-rw-r--r-- | src/boost/libs/gil/fabscript | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/boost/libs/gil/fabscript b/src/boost/libs/gil/fabscript new file mode 100644 index 00000000..bb032881 --- /dev/null +++ b/src/boost/libs/gil/fabscript @@ -0,0 +1,31 @@ +# -*- python -*- +# +# Copyright (c) 2017 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) + +from faber import platform +from faber.feature import set +from faber.tools.compiler import include, define, linkpath +from os.path import join + +features += include('include') +features += define('BOOST_ALL_NO_LIB') # disable auto-linking +boost_prefix = options.get_with('boost-prefix') +boost_include = options.get_with('boost-include') +boost_lib = options.get_with('boost-lib') +boost_suffix = options.get_with('boost-suffix') +if boost_prefix: + features += set(include(join(boost_prefix, 'include')), linkpath(join(boost_prefix, 'lib'))) +else: + if boost_include: + features += include(boost_include) + if boost_lib: + features += linkpath(boost_lib) + +test = module('test', features=features) +io_test = module('io_test', 'io/test', features=features) +toolbox_test = module('toolbox_test', 'toolbox/test', features=features) |