uvw/3.3.0

Header-only, event based, tiny and easy to use libuv wrapper in modern C++.
Recipe info
2024-02-12

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
uvw/3.3.0

Using uvw

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
uvw/3.3.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("uvw/3.3.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): uvw
  • CMake target name(s): uvw::uvw
  • pkg-config file name(s): uvw.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(uvw REQUIRED)
# ...
target_link_libraries(YOUR_TARGET uvw::uvw)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the uvw homepage listed above:

#include "uvw.hpp"
#include "uvw/async.cpp"
#include "uvw/async.h"
#include "uvw/check.cpp"
#include "uvw/check.h"
#include "uvw/config.h"
#include "uvw/dns.cpp"
#include "uvw/dns.h"
#include "uvw/emitter.cpp"
#include "uvw/emitter.h"
#include "uvw/enum.hpp"
#include "uvw/fs.cpp"
#include "uvw/fs.h"
#include "uvw/fs_event.cpp"
#include "uvw/fs_event.h"
#include "uvw/fs_poll.cpp"
#include "uvw/fs_poll.h"
#include "uvw/handle.hpp"
#include "uvw/idle.cpp"
#include "uvw/idle.h"
#include "uvw/lib.cpp"
#include "uvw/lib.h"
#include "uvw/loop.cpp"
#include "uvw/loop.h"
#include "uvw/pipe.cpp"
#include "uvw/pipe.h"
#include "uvw/poll.cpp"
#include "uvw/poll.h"
#include "uvw/prepare.cpp"
#include "uvw/prepare.h"
#include "uvw/process.cpp"
#include "uvw/process.h"
#include "uvw/request.hpp"
#include "uvw/resource.hpp"
#include "uvw/signal.cpp"
#include "uvw/signal.h"
#include "uvw/stream.cpp"
#include "uvw/stream.h"
#include "uvw/tcp.cpp"
#include "uvw/tcp.h"
#include "uvw/thread.cpp"
#include "uvw/thread.h"
#include "uvw/timer.cpp"
#include "uvw/timer.h"
#include "uvw/tty.cpp"
#include "uvw/tty.h"
#include "uvw/type_info.hpp"
#include "uvw/udp.cpp"
#include "uvw/udp.h"
#include "uvw/util.cpp"
#include "uvw/util.h"
#include "uvw/uv_type.hpp"
#include "uvw/work.cpp"
#include "uvw/work.h"