mirror of
https://github.com/boostorg/nowide.git
synced 2026-01-19 04:22:12 +00:00
49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
# Copyright (c) 2002, 2006 Beman Dawes
|
|
# Copyright (c) 2012 Artyom Beilis (Tonkikh)
|
|
# Copyright (c) 2020-2021 Alexander Grund
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# https://www.boost.org/LICENSE_1_0.txt
|
|
#
|
|
# See library home page at https://www.boost.org/libs/nowide
|
|
|
|
import-search /boost/config/checks ;
|
|
import config : requires ;
|
|
import configure ;
|
|
|
|
local requirements =
|
|
<link>shared:<define>BOOST_NOWIDE_DYN_LINK=1
|
|
<define>BOOST_NOWIDE_NO_LIB=1
|
|
;
|
|
|
|
project
|
|
: source-location ../src
|
|
: common-requirements <library>$(boost_dependencies)
|
|
: requirements $(requirements)
|
|
[ requires
|
|
cxx11_auto_declarations
|
|
cxx11_char16_t
|
|
cxx11_char32_t
|
|
cxx11_constexpr
|
|
cxx11_decltype
|
|
cxx11_defaulted_functions
|
|
cxx11_noexcept
|
|
cxx11_nullptr
|
|
cxx11_override
|
|
cxx11_rvalue_references
|
|
cxx11_static_assert
|
|
cxx11_template_aliases
|
|
cxx11_variadic_templates
|
|
]
|
|
[ check-target-builds ../config//lfs_support "Has Large File Support" : : <define>BOOST_NOWIDE_NO_LFS ] <boost.nowide.lfs>no:<define>BOOST_NOWIDE_NO_LFS
|
|
[ check-target-builds ../config//attribute_init_priority "Has attribute init_priority" : <define>BOOST_NOWIDE_HAS_INIT_PRIORITY ]
|
|
: usage-requirements $(requirements)
|
|
;
|
|
|
|
local SOURCES = console_buffer cstdio cstdlib filebuf iostream stat ;
|
|
|
|
lib boost_nowide
|
|
: $(SOURCES).cpp
|
|
: <include>../src
|
|
;
|