Skip to content

Commit

Permalink
[FOLD] add path root var to Jamfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vinniefalco committed Jan 8, 2024
1 parent 401ec43 commit 37734d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import path ;

using zlib ;

path-constant HTTP_PROTO_ROOT : .. ;

project boost/http_proto
: requirements
$(c11-requires)
Expand All @@ -22,10 +24,10 @@ project boost/http_proto
: usage-requirements
<link>shared:<define>BOOST_HTTP_PROTO_DYN_LINK=1
<link>static:<define>BOOST_HTTP_PROTO_STATIC_LINK=1
: source-location ..
: source-location $(HTTP_PROTO_ROOT)
;

alias http_proto_sources : [ path.glob-tree src : *.cpp ] ;
alias http_proto_sources : [ path.glob-tree $(HTTP_PROTO_ROOT)/src : *.cpp ] ;

explicit http_proto_sources ;

Expand All @@ -41,7 +43,7 @@ lib boost_http_proto

boost-install boost_http_proto ;

alias http_proto_zlib_sources : [ path.glob-tree src_zlib : *.cpp ] ;
alias http_proto_zlib_sources : [ path.glob-tree $(HTTP_PROTO_ROOT)/src_zlib : *.cpp ] ;

explicit http_proto_zlib_sources ;

Expand Down

0 comments on commit 37734d6

Please sign in to comment.