File tree 3 files changed +38
-11
lines changed
3 files changed +38
-11
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright René Ferdinand Rivera Morell 2023-2024
2
+ # Distributed under the Boost Software License, Version 1.0.
3
+ # (See accompanying file LICENSE_1_0.txt or copy at
4
+ # http://www.boost.org/LICENSE_1_0.txt)
5
+
6
+ require-b2 5.2 ;
7
+
8
+ import feature ;
9
+
10
+ feature.feature boost.nowide.lfs : auto no : optional propagated ;
11
+
12
+ constant boost_dependencies :
13
+ /boost/config//boost_config
14
+ ;
15
+
16
+ project /boost/nowide
17
+ : common-requirements
18
+ <include>include
19
+ ;
20
+
21
+ explicit
22
+ [ alias boost_nowide : build//boost_nowide ]
23
+ [ alias all : boost_nowide test ]
24
+ ;
25
+
26
+ call-if : boost-library nowide
27
+ : install boost_nowide
28
+ ;
29
+
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2002, 2006 Beman Dawes
2
2
# Copyright (c) 2012 Artyom Beilis (Tonkikh)
3
3
# Copyright (c) 2020-2021 Alexander Grund
4
- #
4
+ #
5
5
# Distributed under the Boost Software License, Version 1.0.
6
6
# https://www.boost.org/LICENSE_1_0.txt
7
7
#
8
8
# See library home page at https://www.boost.org/libs/nowide
9
9
10
- import ../../config/checks/config : requires ;
10
+ import-search /boost/config/checks ;
11
+ import config : requires ;
11
12
import configure ;
12
- import feature ;
13
-
14
- feature.feature boost.nowide.lfs : auto no : optional propagated ;
15
13
16
14
local requirements =
17
15
<link>shared:<define>BOOST_NOWIDE_DYN_LINK=1
16
+ <define>BOOST_NOWIDE_NO_LIB=1
18
17
;
19
18
20
- project boost/nowide
19
+ project
21
20
: source-location ../src
21
+ : common-requirements <library>$(boost_dependencies)
22
22
: requirements $(requirements)
23
23
[ requires
24
24
cxx11_auto_declarations
@@ -46,5 +46,3 @@ lib boost_nowide
46
46
: $(SOURCES).cpp
47
47
: <include>../src
48
48
;
49
-
50
- boost-install boost_nowide ;
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2003, 2006 Beman Dawes
2
2
# Copyright (c) 2012 Artyom Beilis (Tonkikh)
3
3
# Copyright (c) 2020-2022 Alexander Grund
4
- #
4
+ #
5
5
# Distributed under the Boost Software License, Version 1.0.
6
6
# https://www.boost.org/LICENSE_1_0.txt
7
7
@@ -23,11 +23,11 @@ project : requirements
23
23
<include>.
24
24
<warnings>pedantic
25
25
<warnings-as-errors>on
26
- [ check-target-builds ../config//cxx11_moveable_fstreams "std::fstream is moveable and swappable" : : <build>no ]
26
+ [ check-target-builds ../config//cxx11_moveable_fstreams "std::fstream is moveable and swappable" : : <build>no ]
27
27
;
28
28
29
29
lib shell32 ;
30
- lib file_test_helpers : file_test_helpers.cpp : <link>static -<library>/boost/nowide//boost_nowide ;
30
+ lib file_test_helpers : file_test_helpers.cpp : <link>static -<library>/boost/nowide//boost_nowide <use>/boost/nowide//boost_nowide ;
31
31
explicit file_test_helpers ;
32
32
33
33
run test_codecvt.cpp ;
You can’t perform that action at this time.
0 commit comments