forked from boostorg/beast
- Don't set the global link settings (`<link>`) to avoid dependency ordering issues in the future. - Allow the user to decide on the link settings for dependencies (filesystem/coroutine). - Make dependencies in examples explicit. - Remove dependency of examples on Boost.Filesystem (was not used there). - Deduplicate build settings. - Speed up test compilation by avoiding rebuilding of main test file. Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
33 lines
672 B
Plaintext
33 lines
672 B
Plaintext
#
|
|
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot 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/boostorg/beast
|
|
#
|
|
|
|
local SOURCES =
|
|
error.cpp
|
|
deflate_stream.cpp
|
|
inflate_stream.cpp
|
|
zlib.cpp
|
|
;
|
|
|
|
local RUN_TESTS ;
|
|
|
|
for local f in $(SOURCES)
|
|
{
|
|
RUN_TESTS += [ run $(f) $(ZLIB_SOURCES) ] ;
|
|
}
|
|
|
|
alias run-tests : $(RUN_TESTS) ;
|
|
|
|
exe fat-tests : $(ZLIB_SOURCES) $(SOURCES) ;
|
|
|
|
explicit fat-tests ;
|
|
|
|
run $(ZLIB_SOURCES) $(SOURCES) : : : : run-fat-tests ;
|
|
|
|
explicit run-fat-tests ;
|