-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for modular build structure. (#204)
* Fixes issue 181. * Refactors add_hello and adds unit tests. * Adds endian to the list of dependencies * Make the library modular usable. * Some fixes in the article about the costs of async abstractions [skip ci] * Switch to library requirements instead of source. As source puts extra source in install targets. * Add missing import-search for cconfig/predef checks. * Add requires-b2 check to top-level build file. * Bump B2 require to 5.2 * Move inter-lib dependencies to a project variable and into the build targets. * Update build deps. * Fix spurious semi-colon. --------- Co-authored-by: Marcelo Zimbres <[email protected]>
- Loading branch information
1 parent
e30bb37
commit c370e93
Showing
2 changed files
with
35 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright René Ferdinand Rivera Morell 2024 | ||
# 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) | ||
|
||
require-b2 5.2 ; | ||
|
||
constant boost_dependencies : | ||
/boost/asio//boost_asio | ||
/boost/assert//boost_assert | ||
/boost/core//boost_core | ||
/boost/mp11//boost_mp11 | ||
/boost/system//boost_system | ||
/boost/throw_exception//boost_throw_exception ; | ||
|
||
project /boost/redis | ||
: common-requirements | ||
<include>include | ||
; | ||
|
||
explicit | ||
[ alias boost_redis : : : : <library>$(boost_dependencies) ] | ||
[ alias all : boost_redis test ] | ||
; | ||
|
||
call-if : boost-library redis | ||
; | ||
|
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