-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
63 changed files
with
1,263 additions
and
979 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,42 @@ | ||
# Boost Nowide Library Build Jamfile | ||
|
||
# (C) Copyright Beman Dawes 2002, 2006, Artyom Beilis 2012 | ||
# Copyright (c) 2002, 2006 Beman Dawes | ||
# Copyright (c) 2012 Artyom Beilis (Tonkikh) | ||
# Copyright (c) 2020 Alexander Grund | ||
# | ||
|
||
# Distributed under the Boost Software License, Version 1.0. | ||
# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt) | ||
|
||
# (See accompanying file LICENSE or www.boost.org/LICENSE_1_0.txt) | ||
# See library home page at http://www.boost.org/libs/nowide | ||
|
||
import ../../config/checks/config : requires ; | ||
|
||
local requirements = | ||
<link>shared:<define>BOOST_NOWIDE_DYN_LINK=1 | ||
; | ||
|
||
obj cxx11_moveable_fstreams : ../test/check_movable_fstreams.cpp ; | ||
explicit cxx11_moveable_fstreams ; | ||
obj lfs_support : ../test/check_lfs_support.cpp ; | ||
explicit lfs_support ; | ||
|
||
project boost/nowide | ||
: source-location ../src | ||
: usage-requirements # pass these requirement to dependents (i.e. users) | ||
<link>shared:<define>BOOST_NOWIDE_DYN_LINK=1 | ||
; | ||
: source-location ../src | ||
: requirements $(requirements) | ||
[ requires | ||
cxx11_defaulted_functions | ||
cxx11_noexcept | ||
cxx11_rvalue_references | ||
cxx11_static_assert | ||
] | ||
[ check-target-builds cxx11_moveable_fstreams "std::fstream is moveable and swappable" : : <build>no ] | ||
[ check-target-builds lfs_support "Has Large File Support" : : <define>BOOST_NOWIDE_NO_LFS ] | ||
: usage-requirements $(requirements) | ||
; | ||
|
||
SOURCES = cstdio cstdlib iostream ; | ||
local SOURCES = cstdio cstdlib filebuf iostream stat ; | ||
|
||
lib boost_nowide | ||
: $(SOURCES).cpp | ||
: <link>shared:<define>BOOST_NOWIDE_DYN_LINK=1 | ||
; | ||
: $(SOURCES).cpp | ||
; | ||
|
||
boost-install boost_nowide ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.