[requires]
rotor/0.30
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]
rotor/0.30
[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("rotor/0.30")
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:
rotor
rotor::rotor
rotor.pc
A simple use case using the CMake file name and the global target:
# ...
find_package(rotor REQUIRED)
# ...
target_link_libraries(YOUR_TARGET rotor::rotor)
These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the rotor
homepage listed above:
#include "rotor.hpp"
#include "rotor/actor_base.h"
#include "rotor/actor_config.h"
#include "rotor/address.hpp"
#include "rotor/address_mapping.h"
#include "rotor/arc.hpp"
#include "rotor/detail/child_info.h"
#include "rotor/error_code.h"
#include "rotor/export.h"
#include "rotor/extended_error.h"
#include "rotor/forward.hpp"
#include "rotor/handler.h"
#include "rotor/message.h"
#include "rotor/message_stringifier.h"
#include "rotor/messages.hpp"
#include "rotor/misc/default_stringifier.h"
#include "rotor/plugin/address_maker.h"
#include "rotor/plugin/child_manager.h"
#include "rotor/plugin/delivery.h"
#include "rotor/plugin/foreigners_support.h"
#include "rotor/plugin/init_shutdown.h"
#include "rotor/plugin/lifetime.h"
#include "rotor/plugin/link_client.h"
#include "rotor/plugin/link_server.h"
#include "rotor/plugin/locality.h"
#include "rotor/plugin/plugin_base.h"
#include "rotor/plugin/registry.h"
#include "rotor/plugin/resources.h"
#include "rotor/plugin/starter.h"
#include "rotor/plugins.h"
#include "rotor/policy.h"
#include "rotor/registry.h"
#include "rotor/request.hpp"
#include "rotor/spawner.h"
#include "rotor/state.h"
#include "rotor/subscription.h"
#include "rotor/subscription_point.h"
#include "rotor/supervisor.h"
#include "rotor/supervisor_config.h"
#include "rotor/system_context.h"
#include "rotor/timer_handler.hpp"