35 lines
920 B
Plaintext
35 lines
920 B
Plaintext
#
|
|
# Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
|
|
# Copyright (c) 2022 Alan de Freitas (alandefreitas@gmail.com)
|
|
#
|
|
# 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)
|
|
#
|
|
# Official repository: https://github.com/vinniefalco/url
|
|
#
|
|
|
|
project boost/url
|
|
: requirements
|
|
$(c11-requires)
|
|
<define>BOOST_URL_SOURCE
|
|
<toolset>msvc-14.0:<build>no
|
|
<toolset>gcc-7:<cxxflags>"-Wno-maybe-uninitialized" # variant2
|
|
<toolset>gcc,<target-os>windows:<cxxflags>"-Wno-error=array-bounds"
|
|
: common-requirements
|
|
<link>shared:<define>BOOST_URL_DYN_LINK=1
|
|
<link>static:<define>BOOST_URL_STATIC_LINK=1
|
|
: source-location ../src
|
|
;
|
|
|
|
alias url_sources
|
|
: [ glob-tree-ex ../src : *.cpp ]
|
|
;
|
|
|
|
explicit url_sources ;
|
|
|
|
lib boost_url
|
|
: url_sources
|
|
;
|
|
|
|
boost-install boost_url ;
|