Skip to content

Feature/conan support#295

Closed
ClausKlein wants to merge 36 commits intochriskohlhoff:masterfrom
ClausKlein:feature/conan_support
Closed

Feature/conan support#295
ClausKlein wants to merge 36 commits intochriskohlhoff:masterfrom
ClausKlein:feature/conan_support

Conversation

@ClausKlein
Copy link
Copy Markdown

@ClausKlein ClausKlein commented Mar 25, 2018

Based on make, it may be easy and simple to build with conan.io
With local cache, it is fast too.

The idea was inspired from https://github.com/pocoproject/conan-poco

see too http://docs.conan.io/en/latest/integrations/cmake.html?highlight=cmake

ClausKlein and others added 30 commits March 25, 2018 22:07
* Use asio::steady_timer rather than asio::deadline_timer.
* Use asio::dynamic_buffer rather than asio::streambuf.
* Use timed asio::io_context::run_for() function for blocking clients.
* Add example showing a custom completion token for blocking with timeouts.
Define ASIO_USE_BOOST_DATE_TIME_FOR_SOCKET_IOSTREAM to enable the old
Boost.Date_Time interface in basic_socket_streambuf and basic_socket_iostream.
N.B. The Windows-specific tick_count_timer example has been removed as it has
been superseded by timers based on the standard steady_clock. It's also not
clear how to map a wrapping time source to the standard chrono concepts.
Fix prepare_memfn_helper test to use intended member function
'prepare' rather than 'data' copied by mistake from previous check.
This small changes fix building of the some standalone examples with MSVC.

Includes:
#include <ctime> # for std::time_t and std::ctime();
#include <numeric> # for std::iota();
#include <cctype> # for std::toupper().
…g_view for C++14.

Define the preprocessor macro ASIO_DISABLE_STD_STRING_VIEW to force the
use of std::experimental::string_view (assuming it is available) when
compiling in C++17 mode.
@ClausKlein ClausKlein closed this Apr 2, 2018
@ClausKlein ClausKlein deleted the feature/conan_support branch August 18, 2019 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants