2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-02 08:52:10 +00:00
Files
gil/fabscript
2018-06-27 00:02:27 -04:00

24 lines
758 B
Python

# -*- 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 faber.artefacts.binary import binary
from faber.test import test, report, fail
from os.path import join
features += include('include')
features += define('BOOST_ALL_NO_LIB') # disable auto-linking
boost_prefix = options.get_with('boost-prefix')
if boost_prefix:
features += set(include(join(boost_prefix, 'include')), linkpath(join(boost_prefix, 'lib')))
test = module('test', features=features)