[requires]
open62541/1.3.9
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]
open62541/1.3.9
[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("open62541/1.3.9")
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:
open62541
open62541::open62541
open62541.pc
A simple use case using the CMake file name and the global target:
# ...
find_package(open62541 REQUIRED)
# ...
target_link_libraries(YOUR_TARGET open62541::open62541)
These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the open62541
homepage listed above:
#include "aa_tree.h"
#include "accesscontrol.h"
#include "accesscontrol_default.h"
#include "log.h"
#include "log_stdout.h"
#include "log_syslog.h"
#include "ms_stdint.h"
#include "network.h"
#include "nodestore.h"
#include "nodestore_default.h"
#include "open62541/architecture_definitions.h"
#include "open62541/architecture_functions.h"
#include "open62541/client.h"
#include "open62541/client_config_default.h"
#include "open62541/client_highlevel.h"
#include "open62541/client_highlevel_async.h"
#include "open62541/client_subscriptions.h"
#include "open62541/common.h"
#include "open62541/config.h"
#include "open62541/network_tcp.h"
#include "open62541/nodeids.h"
#include "open62541/plugin/accesscontrol.h"
#include "open62541/plugin/accesscontrol_default.h"
#include "open62541/plugin/log.h"
#include "open62541/plugin/log_stdout.h"
#include "open62541/plugin/log_syslog.h"
#include "open62541/plugin/network.h"
#include "open62541/plugin/nodestore.h"
#include "open62541/plugin/nodestore_default.h"
#include "open62541/plugin/pki.h"
#include "open62541/plugin/pki_default.h"
#include "open62541/plugin/pubsub.h"
#include "open62541/plugin/securitypolicy.h"
#include "open62541/plugin/securitypolicy_default.h"
#include "open62541/posix/ua_architecture.h"
#include "open62541/server.h"
#include "open62541/server_config_default.h"
#include "open62541/server_pubsub.h"
#include "open62541/statuscodes.h"
#include "open62541/types.h"
#include "open62541/types_generated.h"
#include "open62541/types_generated_handling.h"
#include "open62541/util.h"
#include "pki.h"
#include "pki_default.h"
#include "pubsub.h"
#include "securitypolicy.h"
#include "securitypolicy_default.h"
#include "ua_architecture.h"
#include "ziptree.h"