mirror of
https://github.com/boostorg/leaf.git
synced 2026-01-19 04:22:08 +00:00
Merge pull request #73 from grafikrobot/modular
Add support for modular build structure.
This commit is contained in:
17
build.jam
Normal file
17
build.jam
Normal file
@@ -0,0 +1,17 @@
|
||||
# Copyright René Ferdinand Rivera Morell 2023-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 ;
|
||||
|
||||
project /boost/leaf
|
||||
;
|
||||
|
||||
explicit
|
||||
[ alias boost_leaf : : : : <include>include ]
|
||||
[ alias all : boost_leaf test ]
|
||||
;
|
||||
|
||||
call-if : boost-library leaf
|
||||
;
|
||||
@@ -22,6 +22,8 @@ project
|
||||
<cxxstd>11
|
||||
<threading>multi
|
||||
: requirements
|
||||
<library>/boost/config//boost_config
|
||||
<use>/boost/exception//boost_exception
|
||||
<define>BOOST_LEAF_BOOST_AVAILABLE
|
||||
<target-os>windows:<define>_CRT_SECURE_NO_WARNINGS
|
||||
<threading>single:<define>BOOST_LEAF_NO_THREADS
|
||||
@@ -29,7 +31,6 @@ project
|
||||
<toolset>clang:<cxxflags>"-Wno-unused-variable -Wno-delete-non-virtual-dtor -Wno-non-virtual-dtor -Wno-dangling-else"
|
||||
<toolset>darwin:<cxxflags>"-Wno-unused-variable -Wno-delete-non-virtual-dtor -Wno-non-virtual-dtor -Wno-delete-non-abstract-non-virtual-dtor -Wno-dangling-else"
|
||||
<toolset>msvc:<cxxflags>"-wd 4267 -wd 4996 -wd 4244"
|
||||
<include>../../..
|
||||
;
|
||||
|
||||
compile _hpp_common_test.cpp ;
|
||||
|
||||
Reference in New Issue
Block a user