Skip to content

add conan package setup for standalone version of asio - #296

Closed
ClausKlein wants to merge 122 commits into
chriskohlhoff:masterfrom
ClausKlein:develop
Closed

ClausKlein wants to merge 122 commits into
chriskohlhoff:masterfrom
ClausKlein:develop

Conversation

@ClausKlein

Copy link
Copy Markdown

The coanan package is created with cmake and tested with ctest

The coanan package is created with cmake and tested with ctest
@ClausKlein

Copy link
Copy Markdown
Author

I did not change any code nor a config script, the CI build failure must be not my fault!
My cmake and conan config files are tested on mac OS X, msys2, and windows 7 with visual studio 2017

@ClausKlein ClausKlein mentioned this pull request Apr 6, 2018
chriskohlhoff and others added 27 commits April 15, 2018 07:16
Clang-cl identifies both as clang and as MSVC.
This resulted in defining ASIO_HAS_STD_STRING_VIEW twice.
…ying.

This is reported as a warning by recent Clang.
chriskohlhoff and others added 27 commits March 3, 2019 19:40
Users should define ASIO_ENABLE_BOOST to explicitly disable standalone
mode when compiling with C++11 or later.
Although MSVC 11.0 supports the decltype keyword, it does not operate
correctly when used in the buffer sequence detection traits. This change
fixes compile errors when trying to use the read and write composed
operations with MSVC 11.0.
The moved-from I/O object needs to be left in the same state as if
constructed with a valid executor but without a resource.
The coanan package is created with cmake and tested with ctest
100% tests passed, 0 tests failed out of 124

Total Test time (real) =  60.04 sec
@ClausKlein

ClausKlein commented Aug 18, 2019

Copy link
Copy Markdown
Author

I added a .clang-tidy file too. It can be used with cmake while compiling or as post compile check.
My last compile log is included, see build-with-clang-tidy.log

see too:
http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines
https://www.kdab.com/clang-tidy-part-1-modernize-source-code-using-c11c14/
https://clang.llvm.org/extra/clang-tidy/index.html

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.