Compare commits

..

16 Commits

Author SHA1 Message Date
Peter Dimov 3e5ce27719 Add VERBATIM to add_custom_target 2024-08-28 03:02:08 +03:00
Peter Dimov 40bdcea2e5 Update build.jam, build/Jamfile, test/Jamfile 2024-08-28 02:10:03 +03:00
Rene Rivera 19bcfebf37 Sync from upstream. 2024-08-20 09:56:38 -05:00
Rene Rivera 75e1a1e28b Update build deps. 2024-08-09 20:26:47 -05:00
Rene Rivera 5feb280612 Move inter-lib dependencies to a project variable and into the build targets. 2024-07-23 22:34:22 -05:00
Rene Rivera fc3ab6db97 Update copyright dates. 2024-07-20 22:52:03 -05:00
Rene Rivera 91929719bd Change all <source> references to <library>. 2024-07-20 21:26:25 -05:00
Rene Rivera 8d0fa396b8 Bump B2 require to 5.2 2024-06-14 11:33:56 -05:00
Rene Rivera 671d0ad41b Sync from upstream. 2024-06-02 23:25:04 -05:00
Rene Rivera 341f960e72 Sync from upstream. 2024-06-02 13:49:02 -05:00
Rene Rivera 9b82082f76 Add requires-b2 check to top-level build file. 2024-05-05 09:00:01 -05:00
Rene Rivera 3c293f8740 Add missing NO_LIB usage requirements. 2024-04-28 20:17:00 -05:00
Rene Rivera 2feb94ac07 Sync from upstream. 2024-04-20 15:31:42 -05:00
Rene Rivera d09b2f5f1d Sync from upstream. 2024-04-10 07:55:53 -05:00
Rene Rivera 27a5096b6c Switch to library requirements instead of source. As source puts extra source in install targets. 2024-03-29 21:15:59 -05:00
Rene Rivera 9cc66841c4 Make the library modular usable. 2024-03-11 08:38:16 -05:00
5 changed files with 39 additions and 16 deletions
+25
View File
@@ -0,0 +1,25 @@
# Copyright 2023-2024 René Ferdinand Rivera Morell
# Copyright 2024 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/throw_exception//boost_throw_exception
/boost/variant2//boost_variant2
/boost/winapi//boost_winapi
;
project /boost/system ;
explicit
[ alias boost_system : build//boost_system ]
[ alias all : boost_system test ]
;
call-if : boost-library system
: install boost_system
;
+9 -14
View File
@@ -1,25 +1,20 @@
# Boost System Library Build Jamfile
# (C) Copyright Beman Dawes 2002, 2006
# Copyright 2002, 2006 Beman Dawes
# Copyright 2024 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
# https://www.boost.org/LICENSE_1_0.txt
# See library home page at https://www.boost.org/libs/system
project boost/system
: source-location ../src
: usage-requirements # pass these requirement to dependents (i.e. users)
project
: common-requirements
<include>../include
<library>$(boost_dependencies)
<link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
<link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
<define>BOOST_SYSTEM_NO_LIB=1
;
SOURCES = error_code ;
lib boost_system
: $(SOURCES).cpp
: <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
<link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
;
boost-install boost_system ;
lib boost_system : ../src/$(SOURCES).cpp ;
+3
View File
@@ -17,6 +17,9 @@ project
: requirements
<library>/boost/system//boost_system
<library>/boost/core//boost_core
<toolset>msvc:<warnings-as-errors>on
<toolset>gcc:<warnings-as-errors>on
<toolset>clang:<warnings-as-errors>on
+1 -1
View File
@@ -14,4 +14,4 @@ target_link_libraries(main Boost::system)
enable_testing()
add_test(main main)
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
add_custom_target(check VERBATIM COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
+1 -1
View File
@@ -23,4 +23,4 @@ target_link_libraries(quick Boost::system Boost::core)
enable_testing()
add_test(quick quick)
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure --no-tests=error -C $<CONFIG>)
add_custom_target(check VERBATIM COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure --no-tests=error -C $<CONFIG>)