[requires]
czmq/4.2.1
NoteSimplest use case consuming this recipe and assuming CMake as your local build tool:
If you are a new Conan user, we recommend reading the how to consume packages tutorial.If you need additional assistance, please ask a question in the Conan Center Index repository.
[requires]
czmq/4.2.1
[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("czmq/4.2.1")
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:
czmq
czmq-static
libczmq.pc
A simple use case using the CMake file name and the global target:
# ...
find_package(czmq REQUIRED)
# ...
target_link_libraries(YOUR_TARGET czmq-static)
These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the czmq
homepage listed above:
#include "czmq.h"
#include "czmq_library.h"
#include "czmq_prelude.h"
#include "readme.txt"
#include "sha1.h"
#include "sha1.inc_c"
#include "slre.h"
#include "slre.inc_c"
#include "zactor.h"
#include "zarmour.h"
#include "zauth.h"
#include "zbeacon.h"
#include "zcert.h"
#include "zcertstore.h"
#include "zchunk.h"
#include "zclock.h"
#include "zconfig.h"
#include "zdigest.h"
#include "zdir.h"
#include "zdir_patch.h"
#include "zfile.h"
#include "zframe.h"
#include "zgossip.h"
#include "zgossip_engine.inc"
#include "zgossip_msg.h"
#include "zhash.h"
#include "zhash_primes.inc"
#include "zhashx.h"
#include "ziflist.h"
#include "zlist.h"
#include "zlistx.h"
#include "zloop.h"
#include "zmonitor.h"
#include "zmsg.h"
#include "zpoller.h"
#include "zproxy.h"
#include "zrex.h"
#include "zsock.h"
#include "zsock_option.inc"
#include "zstr.h"
#include "zsys.h"
#include "zuuid.h"