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>
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
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
|
|
#
|
|
|
|
alias run-tests :
|
|
[ compile core_snippets.cpp ]
|
|
[ compile http_snippets.cpp ]
|
|
[ run core_1_refresher.cpp ]
|
|
[ run core_3_timeouts.cpp ]
|
|
[ run core_4_layers.cpp ]
|
|
[ run http_10_custom_parser.cpp ]
|
|
[ run http_examples.cpp ]
|
|
[ run websocket.cpp ]
|
|
[ run websocket_1_connecting.cpp ]
|
|
[ run websocket_2_handshaking.cpp ]
|
|
[ run websocket_3_decorator.cpp ]
|
|
[ run websocket_4_messages.cpp ]
|
|
[ run websocket_5_control_frames.cpp ]
|
|
[ run websocket_6_timeouts.cpp ]
|
|
[ run websocket_7_teardown.cpp ]
|
|
[ run websocket_8_notes.cpp ]
|
|
;
|
|
|
|
exe fat-tests :
|
|
|
|
core_1_refresher.cpp
|
|
core_3_timeouts.cpp
|
|
core_4_layers.cpp
|
|
http_10_custom_parser.cpp
|
|
http_examples.cpp
|
|
websocket.cpp
|
|
websocket_1_connecting.cpp
|
|
websocket_2_handshaking.cpp
|
|
websocket_3_decorator.cpp
|
|
websocket_4_messages.cpp
|
|
websocket_5_control_frames.cpp
|
|
websocket_6_timeouts.cpp
|
|
websocket_7_teardown.cpp
|
|
websocket_8_notes.cpp
|
|
;
|
|
|
|
explicit fat-tests ;
|
|
|
|
run fat-tests : : : : run-fat-tests ;
|
|
|
|
explicit run-fat-tests ;
|