Unable to use asio.hpp when using conan

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/cpp_questions

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • reflecxx

    A static reflection framework for C++, using libclang.

    I haven't used the cmake_find_package generator much myself. People like it because it lets you write your cmake in a mostly conan agnostic way. If you don't care about that, I find the plain cmake generator much easier to use. You can inspect the generated conanbuildinfo.cmake file to see the targets, and call conan_basic_setup(TARGETS ). Then you link against targets that look like CONAN_PKG::boost or similar. I usually wrap conan setup in a cmake utility file like this: https://github.com/jimmyorourke/reflecxx/blob/main/test/cmake/ConanSetup.cmake

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts